OleDbTransaction.Begin Method (IsolationLevel)

 

Initiates a nested database transaction and specifies the isolation level to use for the new transaction.

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

public OleDbTransaction Begin(
	IsolationLevel isolevel
)

Parameters

isolevel
Type: System.Data.IsolationLevel

The isolation level to use for the transaction.

Return Value

Type: System.Data.OleDb.OleDbTransaction

A nested database transaction.

Exception Condition
InvalidOperationException

Nested transactions are not supported.

The new transaction is nested within the current transaction.

.NET Framework
Available since 1.1
Return to top
Show: