RECORD_READING_POLICY enumeration (txlogpub.h)

Specifies a hint about the order in which records are to be read from a log.

Syntax

typedef enum RECORD_READING_POLICY {
  RECORD_READING_POLICY_FORWARD = 1,
  RECORD_READING_POLICY_BACKWARD = 2,
  RECORD_READING_POLICY_RANDOM = 3
} ;

Constants

 
RECORD_READING_POLICY_FORWARD
Value: 1
Indicates that records will be read in order of increasing LSN (from least recent to most recent).
RECORD_READING_POLICY_BACKWARD
Value: 2
Indicates that records will be read in order of decreasing LSN (from most recent to least recent).
RECORD_READING_POLICY_RANDOM
Value: 3
Indicates that records may be read in any order.

Requirements

Requirement Value
Minimum supported client Windows XP [desktop apps only]
Minimum supported server Windows Server 2003 [desktop apps only]
Header txlogpub.h

See also

ILog::SetAccessPolicyHint