Freigeben über


IDbTransaction-Schnittstelle

Represents a transaction to be performed at a data source.

Namespace:  Microsoft.ReportingServices.DataProcessing
Assemblys:   Microsoft.ReportingServices.Interfaces (in Microsoft.ReportingServices.Interfaces.dll)
  Microsoft.ReportingServices.SharePoint.UI.WebParts (in Microsoft.ReportingServices.SharePoint.UI.WebParts.dll)

Syntax

'Declaration
Public Interface IDbTransaction _
    Inherits IDisposable
'Usage
Dim instance As IDbTransaction
public interface IDbTransaction : IDisposable
public interface class IDbTransaction : IDisposable
type IDbTransaction =  
    interface
        interface IDisposable
    end
public interface IDbTransaction extends IDisposable

Der IDbTransaction-Typ macht folgende Elemente verfügbar.

Methoden

  Name Beschreibung
Öffentliche Methode Commit Commits the database transaction.
Öffentliche Methode Dispose (Geerbt von IDisposable.)
Öffentliche Methode Rollback Rolls back a transaction from a pending state.

Zum Anfang

Hinweise

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.