ICertView::EnumCertViewColumn method (certview.h)

The EnumCertViewColumn method obtains an instance of a column-enumeration sequence for the database schema.

Note that this enumeration sequence cannot be used to enumerate the column values, only the database schema. Use IEnumCERTVIEWROW::EnumCertViewColumn if you need to enumerate the data values of the columns.

Syntax

HRESULT EnumCertViewColumn(
  [in]  LONG                fResultColumn,
  [out] IEnumCERTVIEWCOLUMN **ppenum
);

Parameters

[in] fResultColumn

Specifies the column. This parameter can be one of the following values.

Value Meaning
CVRC_COLUMN_SCHEMA
Schema column information.
CVRC_COLUMN_RESULT
Result column information.
CVRC_COLUMN_VALUE
Value column information.
CVRC_COLUMN_MASK
Column information mask.

[out] ppenum

A pointer to a pointer of IEnumCERTVIEWCOLUMN type. This method fails if the ppenum parameter is NULL.

Return value

C++

If the method succeeds, the method returns S_OK, and *ppenum is set to a pointer of IEnumCERTVIEWCOLUMN type.

If the method fails, it returns an HRESULT value that indicates the error. For a list of common error codes, see Common HRESULT Values.

VB

The return value is an IEnumCERTVIEWCOLUMN object.

Remarks

The IEnumCERTVIEWCOLUMN object can be used to enumerate the view's columns and retrieve each column's information.

Requirements

Requirement Value
Minimum supported client None supported
Minimum supported server Windows Server 2003 [desktop apps only]
Target Platform Windows
Header certview.h (include Certsrv.h)
Library Certidl.lib
DLL Certadm.dll

See also

EnumCERTVIEWCOLUMN

ICertView

ICertView2