Begin Method
Collapse the table of content
Expand the table of content

OleDbTransaction.Begin Method ()

 

Initiates a nested database transaction.

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

public OleDbTransaction Begin()

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