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.

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