IDbConnection.BeginTransaction Method

Definition

Begins a database transaction.

public:
 Microsoft::ReportingServices::DataProcessing::IDbTransaction ^ BeginTransaction();
public Microsoft.ReportingServices.DataProcessing.IDbTransaction BeginTransaction ();
abstract member BeginTransaction : unit -> Microsoft.ReportingServices.DataProcessing.IDbTransaction
Public Function BeginTransaction () As IDbTransaction

Returns

An object representing the new transaction.

Remarks

Once the transaction has completed, you must explicitly commit or roll back the transaction by using the Commit or Rollback methods.

Applies to