次の方法で共有


StateChangeEventArgs.CurrentState プロパティ

接続の新しい状態を取得します。イベントが発生したときは、接続オブジェクトが既に新しい状態になっています。

Public ReadOnly Property CurrentState As ConnectionState
[C#]
public ConnectionState CurrentState {get;}
[C++]
public: __property ConnectionState get_CurrentState();
[JScript]
public function get CurrentState() : ConnectionState;

プロパティ値

ConnectionState 値の 1 つ。

必要条件

プラットフォーム: Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 ファミリ, .NET Compact Framework - Windows CE .NET

参照

StateChangeEventArgs クラス | StateChangeEventArgs メンバ | System.Data 名前空間