次の方法で共有


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