2.2.6.3 TXUSER_ENLISTMENT_PREPAREREQDONE_RESPONSE
The TXUSER_ENLISTMENT_PREPAREREQDONE_RESPONSE enumeration defines the status values for a prepare request from a subordinate resource manager.
-
typedef enum { TXUSER_ENLISTMENT_PREPAREREQDONE_OK = 0, TXUSER_ENLISTMENT_PREPAREREQDONE_ABORT = 1, TXUSER_ENLISTMENT_PREPAREREQDONE_READONLY = 2, TXUSER_ENLISTMENT_PREPAREREQDONE_SINGLEPHASE_COMMIT = 3 } TXUSER_ENLISTMENT_PREPAREREQDONE_RESPONSE;
TXUSER_ENLISTMENT_PREPAREREQDONE_OK: The prepare request was successful, and the enlistment requires the transaction outcome.
TXUSER_ENLISTMENT_PREPAREREQDONE_ABORT: The prepare request was unsuccessful, and the transaction MUST be aborted.
TXUSER_ENLISTMENT_PREPAREREQDONE_READONLY: The request to prepare the transaction for commitment was successful, and no further involvement in the transaction is required.
TXUSER_ENLISTMENT_PREPAREREQDONE_SINGLEPHASE_COMMIT: The sender chose the single-phase commit option and committed the transaction.