IDbConnection.BeginTransaction Método
Begins a database transaction.
Espacio de nombres: Microsoft.ReportingServices.DataProcessing
Ensamblados: Microsoft.ReportingServices.Interfaces (en Microsoft.ReportingServices.Interfaces.dll)
Microsoft.ReportingServices.SharePoint.UI.WebParts (en Microsoft.ReportingServices.SharePoint.UI.WebParts.dll)
Sintaxis
'Declaración
Function BeginTransaction As IDbTransaction
'Uso
Dim instance As IDbConnection
Dim returnValue As IDbTransaction
returnValue = instance.BeginTransaction()
IDbTransaction BeginTransaction()
IDbTransaction^ BeginTransaction()
abstract BeginTransaction : unit -> IDbTransaction
function BeginTransaction() : IDbTransaction
Valor devuelto
Tipo: Microsoft.ReportingServices.DataProcessing.IDbTransaction
An object representing the new transaction.
Comentarios
Once the transaction has completed, you must explicitly commit or roll back the transaction by using the Commit or Rollback methods.
Vea también
Referencia
Espacio de nombres Microsoft.ReportingServices.DataProcessing