IDbTransaction 介面
Represents a transaction to be performed at a data source.
命名空間: Microsoft.ReportingServices.DataProcessing
組件: Microsoft.ReportingServices.Interfaces (在 Microsoft.ReportingServices.Interfaces.dll 中)
Microsoft.ReportingServices.SharePoint.UI.WebParts (在 Microsoft.ReportingServices.SharePoint.UI.WebParts.dll 中)
語法
'宣告
Public Interface IDbTransaction _
Inherits IDisposable
'用途
Dim instance As IDbTransaction
public interface IDbTransaction : IDisposable
public interface class IDbTransaction : IDisposable
type IDbTransaction =
interface
interface IDisposable
end
public interface IDbTransaction extends IDisposable
IDbTransaction 型別公開下列成員。
方法
名稱 | 說明 | |
---|---|---|
![]() |
Commit | Commits the database transaction. |
![]() |
Dispose | (繼承自 IDisposable。) |
![]() |
Rollback | Rolls back a transaction from a pending state. |
上層
備註
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.