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

'宣言
Public Event StateChanged As EventHandler(Of DataConnectionStateChangedEventArgs)
'使用
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

Permissions

See Also

Reference

DataConnectionSupport Class

DataConnectionSupport Members

Microsoft.VisualStudio.Data.Framework Namespace