Share via


Interface IDbTransaction

Represents a transaction to be performed at a data source.

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

Le type IDbTransaction expose les membres suivants.

Méthodes

  Nom Description
Méthode publique Commit Commits the database transaction.
Méthode publique Dispose (hérité de IDisposable.)
Méthode publique Rollback Rolls back a transaction from a pending state.

Haut de la page

Notes

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.