IDbTransaction.IsolationLevel 属性

定义

为该事务指定 IsolationLevelSpecifies the IsolationLevel for this transaction.

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

属性值

IsolationLevel

该事务的 IsolationLevelThe IsolationLevel for this transaction. 默认值为 ReadCommittedThe default is ReadCommitted.

注解

不支持并行事务。Parallel transactions are not supported. 因此, IsolationLevel 适用于整个事务。Therefore, the IsolationLevel applies to the entire transaction.

适用于