This topic has not yet been rated - Rate this topic

ICertView2::EnumCertViewColumn method

Applies to: desktop apps only

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

fResultColumn [in]

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

ValueMeaning
CVRC_COLUMN_SCHEMA

Schema column information.

CVRC_COLUMN_RESULT

Result column information.

CVRC_COLUMN_VALUE

Value column information.

CVRC_COLUMN_MASK

Column information mask.

 

ppenum [out]

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

Minimum supported client

None supported

Minimum supported server

Windows Server 2003

Header

Certview.h (include Certsrv.h)

Library

Certidl.lib

DLL

Certadm.dll

IID

IID_ICertView2 is defined as d594b282-8851-4b61-9c66-3edadf848863

See also

ICertView2
EnumCERTVIEWCOLUMN
ICertView

 

 

Send comments about this topic to Microsoft

Build date: 3/6/2012

Did you find this helpful?
(1500 characters remaining)
Community Content Add
Annotations FAQ