Compartir a través de


Interfaz IDbTransaction

Represents a transaction to be performed at a data source.

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
Public Interface IDbTransaction _
    Inherits IDisposable
'Uso
Dim instance As IDbTransaction
public interface IDbTransaction : IDisposable
public interface class IDbTransaction : IDisposable
type IDbTransaction =  
    interface
        interface IDisposable
    end
public interface IDbTransaction extends IDisposable

El tipo IDbTransaction expone los siguientes miembros.

Métodos

  Nombre Descripción
Método público Commit Commits the database transaction.
Método público Dispose (Se hereda de IDisposable.)
Método público Rollback Rolls back a transaction from a pending state.

Arriba

Comentarios

The IDbTransaction interface enables you to implement a Transaction class, which represents the transaction to be performed at a data source.

An application does not create an instance of the IDbTransaction interface directly, but creates an instance of a class that implements IDbTransaction.

Classes that inherit IDbTransaction must implement the inherited members, and typically define additional members to add provider-specific functionality.