Méthode IDbConnection.BeginTransaction
Begins a database transaction.
Espace de noms : Microsoft.ReportingServices.DataProcessing
Assemblys : Microsoft.ReportingServices.Interfaces (en Microsoft.ReportingServices.Interfaces.dll)
Microsoft.ReportingServices.SharePoint.UI.WebParts (en Microsoft.ReportingServices.SharePoint.UI.WebParts.dll)
Syntaxe
'Déclaration
Function BeginTransaction As IDbTransaction
'Utilisation
Dim instance As IDbConnection
Dim returnValue As IDbTransaction
returnValue = instance.BeginTransaction()
IDbTransaction BeginTransaction()
IDbTransaction^ BeginTransaction()
abstract BeginTransaction : unit -> IDbTransaction
function BeginTransaction() : IDbTransaction
Valeur de retour
Type : Microsoft.ReportingServices.DataProcessing.IDbTransaction
An object representing the new transaction.
Notes
Once the transaction has completed, you must explicitly commit or roll back the transaction by using the Commit or Rollback methods.