IX509EnrollmentPolicyServer::GetIsDefaultCEP method (certenroll.h)

The GetIsDefaultCEP method retrieves a Boolean value that specifies whether this is the default certificate enrollment policy (CEP) server.

Syntax

HRESULT GetIsDefaultCEP(
  [out, retval] VARIANT_BOOL *pValue
);

Parameters

[out, retval] pValue

Pointer to a Boolean value that specifies whether this is the default server.

Return value

If the function succeeds, the function returns S_OK.

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

Remarks

The default server is set by the Initialize method on the ICertPropertyEnrollmentPolicyServer interface.

Requirements

Requirement Value
Minimum supported client Windows 7 [desktop apps only]
Minimum supported server Windows Server 2008 R2 [desktop apps only]
Target Platform Windows
Header certenroll.h

See also

IX509EnrollmentPolicyServer