Share 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

'Declaration
Event StateChanged As EventHandler(Of DataConnectionStateChangedEventArgs)
'Usage
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.

.NET Framework Security

See Also

Reference

IVsDataConnectionEvents Interface

IVsDataConnectionEvents Members

Microsoft.VisualStudio.Data.Services Namespace