ILog::SetAccessPolicyHint method

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

Syntax


HRESULT SetAccessPolicyHint(
  [in] RECORD_READING_POLICY policy
);

Parameters

policy [in]

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

Minimum supported client

Windows XP [desktop apps only]

Minimum supported server

Windows Server 2003 [desktop apps only]

Header

Txlogpub.h

IDL

Txlogpub.idl

IID

IID_ILog is defined as FF222117-0C6C-11d2-B89A-00C04FB9618A

See also

ILog
RECORD_READING_POLICY

 

 

Show: