SqlTransaction.IsolationLevel Property

Definition

Specifies the IsolationLevel for this transaction.

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

Property Value

The IsolationLevel for this transaction. The default is ReadCommitted.

Implements

Remarks

Parallel transactions are not supported. Therefore, the IsolationLevel applies to the whole transaction.

For more information on SQL Server isolation levels, see Transaction Isolation Levels.

Applies to

See also