Compartir a través de


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

See Also

Reference

DataConnection Class

DataConnection Members

Microsoft.VisualStudio.Data Namespace