SqlTransaction.IsolationLevel 属性

定义

指定 IsolationLevel 此事务。

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

属性值

IsolationLevel 事务。 默认值为 ReadCommitted

实现

注解

不支持并行事务。 因此,适用于 IsolationLevel 整个事务。

有关SQL Server隔离级别的详细信息,请参阅 Transaction 隔离级别

适用于

另请参阅