Server.NotifyTableChange Method
Notifies an instance of Analysis Services that a change has occurred to tables in a specified data source.
命名空间: Microsoft.AnalysisServices
程序集: Microsoft.AnalysisServices (in microsoft.analysisservices.dll)
语法
声明
Public Sub NotifyTableChange ( _
dataSource As DataSource, _
tableNotifications As TableNotificationCollection _
)
public void NotifyTableChange (
DataSource dataSource,
TableNotificationCollection tableNotifications
)
public:
void NotifyTableChange (
DataSource^ dataSource,
TableNotificationCollection^ tableNotifications
)
public void NotifyTableChange (
DataSource dataSource,
TableNotificationCollection tableNotifications
)
public function NotifyTableChange (
dataSource : DataSource,
tableNotifications : TableNotificationCollection
)
参数
- dataSource
The data source in the Analysis Services database.
- tableNotifications
The TableNotifications objects that describe the changed tables.
备注
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 主动缓存.
线程安全
Any public static (Shared in Microsoft Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.
平台
开发平台
有关支持的平台列表,请参阅安装 SQL Server 2005 的硬件和软件要求。
目标平台
有关支持的平台列表,请参阅安装 SQL Server 2005 的硬件和软件要求。
请参阅
参考
Server Class
Server Members
Microsoft.AnalysisServices Namespace