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.