Megosztás a következőn keresztül:


Server.NotifyTableChange(DataSource, TableNotificationCollection) Method

Definition

Notifies an instance of Analysis Services that a change has occurred to tables in a specified data source.

public void NotifyTableChange (Microsoft.AnalysisServices.DataSource dataSource, Microsoft.AnalysisServices.TableNotificationCollection tableNotifications);
member this.NotifyTableChange : Microsoft.AnalysisServices.DataSource * Microsoft.AnalysisServices.TableNotificationCollection -> unit
Public Sub NotifyTableChange (dataSource As DataSource, tableNotifications As TableNotificationCollection)

Parameters

dataSource
DataSource

The data source in the Analysis Services database.

tableNotifications
TableNotificationCollection

The TableNotifications objects that describe the changed tables.

Remarks

The NotifyTableChange command allows a client application to explicitly notify an Analysis Services instance that one or more tables contained in a data source have been changed. For proactive caching, this notification indicates that relational OLAP (ROLAP) objects based on those tables should be reviewed and updated. This method of notification is best used for ROLAP objects that are based on views or named queries defined in a data source view, for which changes can be hard to detect and track. For more information about proactive caching, see Proactive Caching (Partitions).

Applies to