ערוך

שתף באמצעות


OleDbConnection.IDbConnection.BeginTransaction Method

Definition

Overloads

IDbConnection.BeginTransaction()

This API supports the product infrastructure and is not intended to be used directly from your code.

Begins a database transaction.

IDbConnection.BeginTransaction(IsolationLevel)

This API supports the product infrastructure and is not intended to be used directly from your code.

Begins a database transaction with the specified isolation level.

IDbConnection.BeginTransaction()

Begins a database transaction.

This API supports the product infrastructure and is not intended to be used directly from your code.

 virtual System::Data::IDbTransaction ^ System.Data.IDbConnection.BeginTransaction() = System::Data::IDbConnection::BeginTransaction;
System.Data.IDbTransaction IDbConnection.BeginTransaction ();
abstract member System.Data.IDbConnection.BeginTransaction : unit -> System.Data.IDbTransaction
override this.System.Data.IDbConnection.BeginTransaction : unit -> System.Data.IDbTransaction
Function BeginTransaction () As IDbTransaction Implements IDbConnection.BeginTransaction

Returns

An object representing the new transaction.

Implements

Remarks

This member is an explicit interface member implementation. It can be used only when the OleDbConnection instance is cast to an IDbConnection interface.

Applies to

IDbConnection.BeginTransaction(IsolationLevel)

Begins a database transaction with the specified isolation level.

This API supports the product infrastructure and is not intended to be used directly from your code.

 virtual System::Data::IDbTransaction ^ System.Data.IDbConnection.BeginTransaction(System::Data::IsolationLevel isolationLevel) = System::Data::IDbConnection::BeginTransaction;
System.Data.IDbTransaction IDbConnection.BeginTransaction (System.Data.IsolationLevel isolationLevel);
abstract member System.Data.IDbConnection.BeginTransaction : System.Data.IsolationLevel -> System.Data.IDbTransaction
override this.System.Data.IDbConnection.BeginTransaction : System.Data.IsolationLevel -> System.Data.IDbTransaction
Function BeginTransaction (isolationLevel As IsolationLevel) As IDbTransaction Implements IDbConnection.BeginTransaction

Parameters

isolationLevel
IsolationLevel

A bitwise combination of the enumeration values that specify the isolation level of the transaction.

Returns

An object representing the new transaction.

Implements

Applies to