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
[<System.Runtime.InteropServices.Guid("0FB15084-AF41-11CE-BD2B-204C4F4F5020")>]
[<System.Runtime.InteropServices.InterfaceType(System.Runtime.InteropServices.ComInterfaceType.InterfaceIsIUnknown)>]
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.

適用於