Share via


DataConnectionSupport.StateChanged Event

Occurs when the state of the data connection has changed.

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

Syntax

'Declaration
Public Event StateChanged As EventHandler(Of DataConnectionStateChangedEventArgs)
'Usage
Dim instance As DataConnectionSupport 
Dim handler As EventHandler(Of DataConnectionStateChangedEventArgs)

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

Implements

IVsDataConnectionEvents.StateChanged

.NET Framework Security

See Also

Reference

DataConnectionSupport Class

DataConnectionSupport Members

Microsoft.VisualStudio.Data.Framework Namespace