Windows apps
Collapse the table of content
Expand the table of content
Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

SqlTransaction::IsolationLevel Property

 

Specifies the IsolationLevel for this transaction.

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

public:
property IsolationLevel IsolationLevel {
	virtual IsolationLevel get() override;
}

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:
© 2017 Microsoft