संपादित करें

इसके माध्यम से साझा किया गया


OdbcConnection.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 OdbcConnection 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 isolevel) = System::Data::IDbConnection::BeginTransaction;
System.Data.IDbTransaction IDbConnection.BeginTransaction (System.Data.IsolationLevel isolevel);
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 (isolevel As IsolationLevel) As IDbTransaction Implements IDbConnection.BeginTransaction

Parameters

isolevel
IsolationLevel

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

Returns

An object representing the new transaction.

Implements

Applies to