ICertView::GetColumnCount method (certview.h)
The GetColumnCount method retrieves the number of columns in the view of the Certificate Services database.
Syntax
HRESULT GetColumnCount(
[in] LONG fResultColumn,
[out] LONG *pcColumn
);
Parameters
[in] fResultColumn
Specifies the column. This parameter can be one of the following values.
Value | Meaning |
---|---|
|
Schema column information. |
|
Result column information. |
|
Value column information. |
|
Column information mask. |
[out] pcColumn
A pointer to a variable that contains the number of columns in the view. This function will fail if the pcColumn parameter is NULL.
Return value
C++
If the method succeeds, the method returns S_OK, and the pcColumn parameter is set to the number of columns in the view.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 the number of columns in the view.Remarks
This method is used to determine the number of columns in the view. The returned number represents the count of a result set's columns if fResultColumn is TRUE or the count of the full database schema's columns if fResultColumn is FALSE.
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 |