Winapi.Mtx.CreateTransactionContext
Delphi
function CreateTransactionContext: ITransactionContext;
C++
extern DELPHI_PACKAGE _di_ITransactionContext __fastcall CreateTransactionContext(void);
Properties
Type | Visibility | Source | Unit | Parent |
---|---|---|---|---|
function | public | Winapi.Mtx.pas Winapi.Mtx.hpp |
Winapi.Mtx | Winapi.Mtx |
Description
Starts an MTS transaction.
CreateTransactionContext allows client applications to control MTS transactions. CreateTransactionContext returns an interface to the new transaction context. Use this interface to enlist MTS server objects in the transaction, and to commit or roll back the transaction when done.