Transaction.IsolationLevel 属性

定义

获取事务的隔离级别。Gets the isolation level of the transaction.

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

属性值

IsolationLevel 值之一,该值指示事务的隔离级别。One of the IsolationLevel values that indicates the isolation level of the transaction.

注解

事务的隔离级别决定了在事务完成之前,其他事务对可变数据的访问级别。The isolation level of a transaction determines what level of access other transactions have to volatile data before a transaction completes. 有关隔离级别的详细信息,请参阅 IsolationLevel 枚举的文档。For more information about isolation levels, see the documentation for the IsolationLevel enumeration.

适用于