Share via


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

'Declaration
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

See Also

Reference

DataConnection Class

Microsoft.VisualStudio.Data Namespace