Condividi tramite


Metodo IDbConnection.BeginTransaction

Begins a database transaction.

Spazio dei nomi  Microsoft.ReportingServices.DataProcessing
Assembly:   Microsoft.ReportingServices.Interfaces (in Microsoft.ReportingServices.Interfaces.dll)
  Microsoft.ReportingServices.SharePoint.UI.WebParts (in Microsoft.ReportingServices.SharePoint.UI.WebParts.dll)

Sintassi

'Dichiarazione
Function BeginTransaction As IDbTransaction
'Utilizzo
Dim instance As IDbConnection 
Dim returnValue As IDbTransaction 

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

Valore restituito

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

Osservazioni

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

Vedere anche

Riferimento

IDbConnection Interfaccia

Spazio dei nomi Microsoft.ReportingServices.DataProcessing