Compartilhar via


Interface IDbTransaction

Represents a transaction to be performed at a data source.

Namespace:  Microsoft.ReportingServices.DataProcessing
Assemblies:   Microsoft.ReportingServices.Interfaces (em Microsoft.ReportingServices.Interfaces.dll)
  Microsoft.ReportingServices.SharePoint.UI.WebParts (em Microsoft.ReportingServices.SharePoint.UI.WebParts.dll)

Sintaxe

'Declaração
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

O tipo IDbTransaction expõe os membros a seguir.

Métodos

  Nome Descrição
Método público Commit Commits the database transaction.
Método público Dispose (Herdado de IDisposable.)
Método público Rollback Rolls back a transaction from a pending state.

Início

Comentários

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.