OdbcTransaction.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

属性值

该事务的 IsolationLevelThe IsolationLevel for this transaction. 默认值取决于基础 ODBC 驱动程序。The default depends on the underlying ODBC driver.

注解

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

适用于

另请参阅