ModelComponentCollection.CollectionChanged 事件

此 API 支持 SQL Server 2012 基础结构,但不能通过代码直接使用。

Occurs when the collection changes.

命名空间:  Microsoft.AnalysisServices
程序集:  Microsoft.AnalysisServices(在 Microsoft.AnalysisServices.dll 中)

语法

声明
Public Event CollectionChanged As CollectionChangeEventHandler
用法
Dim instance As ModelComponentCollection 
Dim handler As CollectionChangeEventHandler 

AddHandler instance.CollectionChanged, handler
public event CollectionChangeEventHandler CollectionChanged
public:
 event CollectionChangeEventHandler^ CollectionChanged {
    void add (CollectionChangeEventHandler^ value);
    void remove (CollectionChangeEventHandler^ value);
}
member CollectionChanged : IEvent<CollectionChangeEventHandler,
    CollectionChangeEventArgs>
JScript 支持使用事件,但不支持声明新事件。

请参阅

参考

ModelComponentCollection 类

Microsoft.AnalysisServices 命名空间