Share via


ModelComponentCollection.CollectionChanging Event

This API supports the SQL Server 2012 infrastructure and is not intended to be used directly from your code.

Occurs when the collection is changing.

Namespace:  Microsoft.AnalysisServices
Assembly:  Microsoft.AnalysisServices (in Microsoft.AnalysisServices.dll)

Syntax

'Declaration
Public Event CollectionChanging As CollectionChangeEventHandler
'Usage
Dim instance As ModelComponentCollection 
Dim handler As CollectionChangeEventHandler 

AddHandler instance.CollectionChanging, handler
public event CollectionChangeEventHandler CollectionChanging
public:
 event CollectionChangeEventHandler^ CollectionChanging {
    void add (CollectionChangeEventHandler^ value);
    void remove (CollectionChangeEventHandler^ value);
}
member CollectionChanging : IEvent<CollectionChangeEventHandler,
    CollectionChangeEventArgs>
JScript supports the use of events, but not the declaration of new ones.

See Also

Reference

ModelComponentCollection Class

Microsoft.AnalysisServices Namespace