ICertPropertyEnrollmentPolicyServer::GetPropertyFlags method (certenroll.h)

The GetPropertyFlags method retrieves a value that specifies the default policy server URL. This value is set by the Initialize method.


HRESULT GetPropertyFlags(
  [out, retval] EnrollmentPolicyServerPropertyFlags *pValue


[out, retval] pValue

Pointer to an EnrollmentPolicyServerPropertyFlags enumeration value that contains the flag. This can be one of the following values.

Value Meaning
No default policy server URL has been specified.
The policy server URL returned by GetPolicyServerUrl is the default value when an URL has not been specified.

Return value

If the function succeeds, the function returns S_OK.

If the function fails, it returns an HRESULT value that indicates the error. Possible values include, but are not limited to, those in the following table. For a list of common error codes, see Common HRESULT Values.

Return code/value Description
The pValue parameter cannot be NULL.


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