ICrmFormatLogRecords::GetColumnVariants method (comsvcs.h)

Formats one structured log record into an array of viewable fields.

Syntax

HRESULT GetColumnVariants(
  [in]  VARIANT   LogRecord,
  [out] LPVARIANT pFormattedLogRecord
);

Parameters

[in] LogRecord

The structured log record to be formatted.

[out] pFormattedLogRecord

A Variant array of the fields in this log record as Variant strings.

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_FAIL
The log record could not be formatted.

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

ICrmFormatLogRecords