ITransaction 接口

定义

与分布式事务协调器 (DTC) ITransaction 接口对应,并且受通过 Transaction 获取的对象的支持。Corresponds to the Distributed Transaction Coordinator (DTC) ITransaction interface and is supported by objects obtained through Transaction.

public interface class ITransaction
[System.Runtime.InteropServices.Guid("0FB15084-AF41-11CE-BD2B-204C4F4F5020")]
[System.Runtime.InteropServices.InterfaceType(System.Runtime.InteropServices.ComInterfaceType.InterfaceIsIUnknown)]
public interface ITransaction
type ITransaction = interface
Public Interface ITransaction
属性

方法

Abort(BOID, Int32, Int32)

中止事务。Aborts the transaction.

Commit(Int32, Int32, Int32)

提交事务。Commits the transaction.

GetTransactionInfo(XACTTRANSINFO)

返回有关事务对象的信息。Returns information about a transaction object.

适用于