BeginTransaction-Methode

Begins a database transaction.

Namespace:  Microsoft.ReportingServices.DataProcessing
Assemblys:   Microsoft.ReportingServices.SharePoint.UI.WebParts (in Microsoft.ReportingServices.SharePoint.UI.WebParts.dll)
  Microsoft.ReportingServices.Interfaces (in Microsoft.ReportingServices.Interfaces.dll)

Syntax

'Declaration
Function BeginTransaction As IDbTransaction
'Usage
Dim instance As IDbConnection
Dim returnValue As IDbTransaction

returnValue = instance.BeginTransaction()
IDbTransaction BeginTransaction()
IDbTransaction^ BeginTransaction()
abstract BeginTransaction : unit -> IDbTransaction 
function BeginTransaction() : IDbTransaction

Rückgabewert

Typ: Microsoft.ReportingServices.DataProcessing. . :: . .IDbTransaction
An object representing the new transaction.

Hinweise

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