2.2.2.21 XACTTC

The XACTTC enumeration defines the commit behavior of a transaction. The values in this enumeration indicate the synchronous, asynchronous, or two-phased behavior of the transaction.

 typedef enum 
 {
   XACTTC_NONE = 0x0000,
   XACTTC_SYNC_PHASEONE = 0x0001,
   XACTTC_SYNC_PHASETWO = 0x0002,
   XACTTC_SYNC = 0x0002,
   XACTTC_ASYNC_PHASEONE = 0x0004,
   XACTTC_ASYNC = 0x0004
 } XACTTC;

XACTTC_NONE:  The default commit behavior of the transaction coordinator is used.

XACTTC_SYNC_PHASEONE:  The commit method returns after phase one of the two-phase commit is completed.

XACTTC_SYNC_PHASETWO:  The commit method returns after phase two of the two-phase commit is completed.

XACTTC_SYNC:  The commit method returns after phase two of the two-phase commit is completed.

XACTTC_ASYNC_PHASEONE:  The commit request is performed asynchronously.

XACTTC_ASYNC:  The commit request is performed asynchronously.

Used by: