IX509Enrollment::get_EnrollmentContext method (certenroll.h)

The EnrollmentContext property retrieves an enrollment context that identifies whether the certificate is intended for a computer or an end-user.

This property is read-only.

Syntax

HRESULT get_EnrollmentContext(
  X509CertificateEnrollmentContext *pValue
);

Parameters

pValue

Return value

None

Remarks

Before calling this property, you must initialize the IX509Enrollment object by calling one of the following methods.

Requirements

Requirement Value
Minimum supported client Windows Vista [desktop apps only]
Minimum supported server Windows Server 2008 [desktop apps only]
Target Platform Windows
Header certenroll.h
DLL CertEnroll.dll

See also

IX509Enrollment