ICrmMonitorLogRecords::GetLogRecordVariants method (comsvcs.h)

Retrieves a structured log record given its numeric index.

Syntax

HRESULT GetLogRecordVariants(
  [in]  VARIANT   IndexNumber,
  [out] LPVARIANT pLogRecord
);

Parameters

[in] IndexNumber

The index of the required log record.

[out] pLogRecord

The log record. See ICrmCompensatorVariants::PrepareRecordVariants for the format.

Return value

This method can return the following values.

Return code Description
S_OK
The method completed successfully.
E_POINTER
A NULL pointer was provided as an argument.
E_INVALIDARG
The index is out of range.
XACT_E_WRONGSTATE
Attempting to read unstructured records but written records are structured.
XACT_E_TRANSACTIONCLOSED
The transaction has completed, and the log records have been discarded from the log file. They are no longer available.

Requirements

Requirement Value
Minimum supported client Windows 2000 Professional [desktop apps only]
Minimum supported server Windows 2000 Server [desktop apps only]
Target Platform Windows
Header comsvcs.h

See also

ICrmMonitorLogRecords