SqlTransaction.IsolationLevel Property

 

Specifies the IsolationLevel for this transaction.

Namespace:   System.Data.SqlClient
Assembly:  System.Data (in System.Data.dll)

public override IsolationLevel IsolationLevel { get; }

Property Value

Type: System.Data.IsolationLevel

The IsolationLevel for this transaction. The default is ReadCommitted.

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

For more information on SQL Server isolation levels, see "Isolation Levels in the Database Engine" in SQL Server Books Online.

.NET Framework
Available since 1.1
Return to top
Show: