Freigeben über


IDbConnection.BeginTransaction-Methode

Begins a database transaction.

Namespace:  Microsoft.ReportingServices.DataProcessing
Assemblys:   Microsoft.ReportingServices.Interfaces (in Microsoft.ReportingServices.Interfaces.dll)
  Microsoft.ReportingServices.SharePoint.UI.WebParts (in Microsoft.ReportingServices.SharePoint.UI.WebParts.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.

Siehe auch

Verweis

IDbConnection Schnittstelle

Microsoft.ReportingServices.DataProcessing-Namespace