共用方式為


DataConnection.StateChanged Event

Definition

Event that is raised when the state of the data connection has changed.

public:
 abstract event Microsoft::VisualStudio::Data::DataConnectionStateChangedEventHandler ^ StateChanged;
public abstract event Microsoft.VisualStudio.Data.DataConnectionStateChangedEventHandler StateChanged;
member this.StateChanged : Microsoft.VisualStudio.Data.DataConnectionStateChangedEventHandler 
Public MustOverride Event StateChanged As DataConnectionStateChangedEventHandler 

Event Type

Applies to