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
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.
See Also
Reference
IVsDataConnectionEvents Interface