This interface contains methods that control the attributes of new transactions such as their time-out periods and descriptions.
This interface is used to get and set attributes within a transaction options object. The transaction options object can be passed as a parameter to the ITransactionDispenser::BeginTransaction method. The attributes of the transaction options object are inherited by the newly initiated transaction. This lets the caller of the BeginTransaction method to control the attributes of a transaction such as its time-out period and transaction description.
Implemented by: | MS DTC proxy |
Object | Transaction options object |
Interface Source | Returned by the ITransactionDispenser::GetOptionsObject method |
Called by: | Application programs and resource managers that initiate transactions |
interface ITransactionOptions : IUnknown
{
HRESULT SetOptions ([in] XACTOPT * pOptions);
HRESULT GetOptions ([out] XACTOPT * pOptions);
}