Share via


IContextProvider.CurrentContextChanged Event

Handles the event that changes the current context.

Namespace:  Microsoft.SqlServer.Management
Assembly:  Microsoft.SqlServer.Management.SDK.SqlStudio (in Microsoft.SqlServer.Management.SDK.SqlStudio.dll)

Syntax

'Declaration
Event CurrentContextChanged As EventHandler
'Usage
Dim instance As IContextProvider
Dim handler As EventHandler

AddHandler instance.CurrentContextChanged, handler
event EventHandler CurrentContextChanged
 event EventHandler^ CurrentContextChanged {
    void add (EventHandler^ value);
    void remove (EventHandler^ value);
}
abstract CurrentContextChanged : IEvent<EventHandler,
    EventArgs>
JScript supports the use of events, but not the declaration of new ones.