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
public abstract event DataConnectionStateChangedEventHandler StateChanged
public:
virtual  event DataConnectionStateChangedEventHandler^ StateChanged {
    void add (DataConnectionStateChangedEventHandler^ value);
    void remove (DataConnectionStateChangedEventHandler^ value);
}
abstract StateChanged : IEvent<DataConnectionStateChangedEventHandler,
    DataConnectionStateChangedEventArgs>
JScript does not support events.
Remarks
This event is handled by the OnStateChanged method.
.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.