DbConnection::IDbConnection::BeginTransaction Method (IsolationLevel)

 

Begins a database transaction with the specified IsolationLevel value.

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

private:
virtual IDbTransaction^ BeginTransaction(
	IsolationLevel isolationLevel
) sealed = IDbConnection::BeginTransaction

Parameters

isolationLevel
Type: System.Data::IsolationLevel

One of the IsolationLevel values.

Return Value

Type: System.Data::IDbTransaction^

An object that represents the new transaction.

For more information, see BeginTransaction.

.NET Framework
Available since 2.0
Return to top
Show: