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
- 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.