Condividi tramite


Interfaccia IDbTransaction

Represents a transaction to be performed at a data source.

Spazio dei nomi  Microsoft.ReportingServices.DataProcessing
Assembly:   Microsoft.ReportingServices.Interfaces (in Microsoft.ReportingServices.Interfaces.dll)
  Microsoft.ReportingServices.SharePoint.UI.WebParts (in Microsoft.ReportingServices.SharePoint.UI.WebParts.dll)

Sintassi

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

Nel tipo IDbTransaction sono esposti i membri seguenti.

Metodi

  Nome Descrizione
Metodo pubblico Commit Commits the database transaction.
Metodo pubblico Dispose Ereditato da IDisposable.
Metodo pubblico Rollback Rolls back a transaction from a pending state.

In alto

Osservazioni

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.