Partager via


IVsDataConnectionEvents.StateChanged Event

Occurs when the state of the data connection is changed.

Namespace:  Microsoft.VisualStudio.Data.Services
Assembly:  Microsoft.VisualStudio.Data.Services (in Microsoft.VisualStudio.Data.Services.dll)

Syntax

Event StateChanged As EventHandler(Of DataConnectionStateChangedEventArgs)

Dim instance As IVsDataConnectionEvents
Dim handler As EventHandler(Of DataConnectionStateChangedEventArgs)

AddHandler instance.StateChanged, handler
event EventHandler<DataConnectionStateChangedEventArgs> StateChanged
 event EventHandler<DataConnectionStateChangedEventArgs^>^ StateChanged {
    void add (EventHandler<DataConnectionStateChangedEventArgs^>^ value);
    void remove (EventHandler<DataConnectionStateChangedEventArgs^>^ value);
}
JScript does not support events.

Permissions

See Also

Reference

IVsDataConnectionEvents Interface

IVsDataConnectionEvents Members

Microsoft.VisualStudio.Data.Services Namespace