DataConnection.StateChanged Event
Event that is raised when the state of the data connection has changed.
Namespace: Microsoft.VisualStudio.Data
Assembly: Microsoft.VisualStudio.Data (in Microsoft.VisualStudio.Data.dll)
Syntax
Public MustOverride Event StateChanged As DataConnectionStateChangedEventHandler
Dim instance As DataConnection
Dim handler As DataConnectionStateChangedEventHandler
AddHandler instance.StateChanged, handler
public abstract event DataConnectionStateChangedEventHandler StateChanged
public:
virtual event DataConnectionStateChangedEventHandler^ StateChanged {
void add (DataConnectionStateChangedEventHandler^ value);
void remove (DataConnectionStateChangedEventHandler^ value);
}
JScript does not support events.
Remarks
This event is handled by the OnStateChanged method.
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.