EntityConnection.State プロパティ

定義

ConnectionState が開いている場合は、基になるプロバイダーの EntityConnection プロパティを取得します。 それ以外の場合、Closed を返します。

public:
 virtual property System::Data::ConnectionState State { System::Data::ConnectionState get(); };
public override System.Data.ConnectionState State { get; }
member this.State : System.Data.ConnectionState
Public Overrides ReadOnly Property State As ConnectionState

プロパティ値

Openの内部状態と基になるプロバイダーConnectionStateの両方EntityConnectionが開いている場合にのみ、 と。 の EntityConnection状態が開いているが、プロバイダー ConnectionState の が閉じている場合、このプロパティは を返します Broken。 それ以外の場合は Closedを返します。

適用対象