This enumeration is used to specify which transaction option is to be retrieved or set.
enum {
TXN_RESET_OPTIONS = 1,
TXN_NORMAL = 2,
TXN_EXCLUSIVE_WRITEBACK = 3,
TXN_EXCLUSIVE_WRITETHROUGH = 4,
TXN_TIMEOUT_DURATION = 5,
TXN_START_TIMEOUT = 6,
TXN_QUERY_TIMEOUT = 7,
TXN_DBMS_READONLY = 8 } TransactionFlags;
Value | Description |
TXN_RESET_OPTIONS | Valid only for setting transaction options. Specifies that all options are to be reset to their default values. Any associated option value is ignored. |
TXN_NORMAL | Specifies the nonexclusive write-back mode transaction option. |
TXN_EXCLUSIVE_WRITEBACK | Specifies the exclusive write-back mode transaction option. |
TXN_EXCLUSIVE_WRITETHROUGH | Specifies the exclusive write-through mode transaction option. |
TXN_TIMEOUT_DURATION | Specifies the transaction option that determines the maximum time to wait for a lock. |
TXN_START_TIMEOUT | Specifies the transaction option that determines the maximum time to wait before starting a transaction. |
TXN_QUERY_TIMEOUT | Specifies the transaction option that determines the maximum number of seconds to wait while a database query is executing. |
TXN_DBMS_READONLY | Specifies the option that indicates whether you can make changes to the Microsoft® Repository database. If the value is zero, you can make changes. If the value is nonzero, the database is read-only. You can read the value of this option, but you cannot set it. |