Condividi tramite


ISOFLAG

 

Applies To: Windows 10, Windows 7, Windows 8, Windows 8.1, Windows Server 2008, Windows Server 2008 R2, Windows Server 2012, Windows Server 2012 R2, Windows Server Technical Preview, Windows Vista

The ISOFLAG enumeration values specify certain flags for a transaction.

Syntax

  
      typedef enum ISOFLAG {  
      ISOFLAG_RETAIN_COMMIT_DC  =  1,  
    ISOFLAG_RETAIN_COMMIT     =  2,  
    ISOFLAG_RETAIN_COMMIT_NO  =  3,  
    ISOFLAG_RETAIN_ABORT_DC   =  4,  
    ISOFLAG_RETAIN_ABORT      =  8,  
    ISOFLAG_RETAIN_ABORT_NO   = 12,  
    ISOFLAG_RETAIN_DONTCARE   =  7,  
    ISOFLAG_RETAIN_BOTH       = 10,  
    ISOFLAG_RETAIN_NONE       = 13,  
    ISOFLAG_OPTIMISTIC        = 16,  
    ISOFLAG_READONLY          = 32  
} ISOFLAG;  

Elements

ISOFLAG_RETAIN_COMMIT_DC
Use just one of ISOFLAG_RETAIN_COMMIT values.

ISOFLAG_RETAIN_COMMIT
ISOFLAG_RETAIN_COMMIT_NO
ISOFLAG_RETAIN_ABORT_DC
Use just one of ISOFLAG_RETAIN_ABORT values.

ISOFLAG_RETAIN_ABORT
ISOFLAG_RETAIN_ABORT_NO
ISOFLAG_RETAIN_DONTCARE
ISOFLAG_RETAIN_COMMIT_DC | ISOFLAG_RETAIN_ABORT_DC

ISOFLAG_RETAIN_BOTH
ISOFLAG_RETAIN_COMMIT | ISOFLAG_RETAIN_ABORT

ISOFLAG_RETAIN_NONE
ISOFLAG_RETAIN_COMMIT_NO | ISOFLAG_RETAIN_ABORT_NO

ISOFLAG_OPTIMISTIC
ISOFLAG_READONLY

Requirements

For an explanation of the requirement values, see Requirements (Component Services).

Platforms: Windows Server 2016, Windows 10, Windows Server 2012 R2, Windows 8.1, Windows Server 2012, Windows 8, Windows Server 2008 R2, Windows 7, Windows Server 2008, Windows Vista

Header: Declared in transact.h

See Also

ITransactionDispenser::BeginTransaction
XACTTRANSINFO