ILog::GetLogLimits method

Retrieves information about the current bounds of the log.

Syntax


HRESULT GetLogLimits(
  [in, out] LSN *plsnFirst,
  [in, out] LSN *plsnLast
);

Parameters

plsnFirst [in, out]

A pointer to the LSN of the first record in the log. This parameter can be NULL if the LSN of the first record is not needed.

plsnLast [in, out]

A pointer to the LSN of the last record in the log. This parameter can be NULL if the LSN of the last record is not needed.

Return value

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

Remarks

The limits returned by this method may include records that have not yet been written to disk.

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

 

 

Show: