共用方式為


EntityConnection.State 屬性

定義

取得 EntityConnection 的狀態,其設定為追蹤此 EntityConnection 所包裝之基礎資料庫連線的狀態。

[System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Design", "CA1065:DoNotRaiseExceptionsInUnexpectedLocations")]
public override System.Data.ConnectionState State { get; }
member this.State : System.Data.ConnectionState
Public Overrides ReadOnly Property State As ConnectionState

屬性值

屬性

適用於