Server.NotifyTableChange メソッド
指定したデータ ソース内のテーブルの内容が変更されたことを Analysis Services のインスタンスに通知します。
名前空間: Microsoft.AnalysisServices
アセンブリ: Microsoft.AnalysisServices (Microsoft.AnalysisServices.dll)
構文
'宣言
Public Sub NotifyTableChange ( _
dataSource As DataSource, _
tableNotifications As TableNotificationCollection _
)
'使用
Dim instance As Server
Dim dataSource As DataSource
Dim tableNotifications As TableNotificationCollection
instance.NotifyTableChange(dataSource, _
tableNotifications)
public void NotifyTableChange(
DataSource dataSource,
TableNotificationCollection tableNotifications
)
public:
void NotifyTableChange(
DataSource^ dataSource,
TableNotificationCollection^ tableNotifications
)
member NotifyTableChange :
dataSource:DataSource *
tableNotifications:TableNotificationCollection -> unit
public function NotifyTableChange(
dataSource : DataSource,
tableNotifications : TableNotificationCollection
)
パラメーター
- dataSource
型: Microsoft.AnalysisServices.DataSource
Analysis Services データベースのデータ ソースです。
- tableNotifications
型: Microsoft.AnalysisServices.TableNotificationCollection
変更されたテーブルを表す TableNotifications オブジェクトです。
説明
NotifyTableChange コマンドを使用すると、クライアント アプリケーションは、データ ソースに含まれる 1 つ以上のテーブルの内容が変更されたことを Analysis Services インスタンスに明示的に通知することができます。 プロアクティブ キャッシュの場合、この通知は、それらのテーブルに基づくリレーショナル OLAP (ROLAP) オブジェクトを再確認して更新する必要があることを示します。
この通知方法は、変更があったことを検出および追跡するのが困難な、データ ソース ビューに定義されているビューまたは名前付きクエリに基づいている ROLAP オブジェクトに対して最も効果的です。
プロアクティブ キャッシュの詳細については、「プロアクティブ キャッシュ (パーティション)」を参照してください。