SqlTransaction.IsolationLevel 屬性

定義

指定此交易的 。IsolationLevel

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

屬性值

這筆交易。IsolationLevel 預設值為 ReadCommitted

實作

備註

不支援平行交易。 因此,該原則 IsolationLevel 適用於整個交易。

欲了解更多隔離層級SQL Server,請參見交易隔離層

適用於

另請參閱