共用方式為


OdbcConnection.StateChange 事件

定義

當連線的狀態變更時發生。

public:
 event System::Data::StateChangeEventHandler ^ StateChange;
public event System.Data.StateChangeEventHandler StateChange;
member this.StateChange : System.Data.StateChangeEventHandler 
Public Custom Event StateChange As StateChangeEventHandler 

事件類型

適用於