ILog::SetAccessPolicyHint method (txlogpub.h)

Provides a hint to the implementation about the pattern in which records will be read.

Syntax

HRESULT SetAccessPolicyHint(
  [in] RECORD_READING_POLICY policy
);

Parameters

[in] policy

The pattern in which records will most often be read. For more information, see the RECORD_READING_POLICY enumeration.

Return value

If this method succeeds, it returns S_OK. Otherwise, it returns an HRESULT error code.

Remarks

Not all implementations of ILog will be optimized for reading records in a particular pattern. An implementation may choose to ignore this request and return S_OK.

Requirements

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

See also

ILog

RECORD_READING_POLICY