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.

Syntax

HRESULT GetPropertyFlags(
  [out, retval] EnrollmentPolicyServerPropertyFlags *pValue
);

Parameters

[out, retval] pValue

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

Value Meaning
DefaultNone
No default policy server URL has been specified.
DefaultPolicyServer
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
E_POINTER
The pValue parameter cannot be NULL.

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

ICertPropertyEnrollmentPolicyServer