ILog::GetLogLimits method (txlogpub.h)
Retrieves information about the current bounds of the log.
Syntax
HRESULT GetLogLimits(
[in, out] LSN *plsnFirst,
[in, out] LSN *plsnLast
);
Parameters
[in, out] plsnFirst
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.
[in, out] plsnLast
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
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 |