共用方式為


StateChangeEventArgs.OriginalState 屬性

定義

取得連線的原始狀態。

public:
 property System::Data::ConnectionState OriginalState { System::Data::ConnectionState get(); };
public System.Data.ConnectionState OriginalState { get; }
member this.OriginalState : System.Data.ConnectionState
Public ReadOnly Property OriginalState As ConnectionState

屬性值

其中一個 ConnectionState 值。

適用於