Skip to content

Latest commit

 

History

History
114 lines (96 loc) · 3.71 KB

nf-certenroll-icertpropertyenrollmentpolicyserver-getpolicyserverid.md

File metadata and controls

114 lines (96 loc) · 3.71 KB
UID title description helpviewer_keywords old-location tech.root ms.assetid ms.date ms.keywords req.header req.include-header req.target-type req.target-min-winverclnt req.target-min-winversvr req.kmdf-ver req.umdf-ver req.ddi-compliance req.unicode-ansi req.idl req.max-support req.namespace req.assembly req.type-library req.lib req.dll req.irql targetos req.typenames req.redist ms.custom f1_keywords dev_langs topic_type api_type api_location api_name
NF:certenroll.ICertPropertyEnrollmentPolicyServer.GetPolicyServerId
ICertPropertyEnrollmentPolicyServer::GetPolicyServerId (certenroll.h)
Retrieves a string that uniquely identifies the certificate enrollment policy (CEP) server.
GetPolicyServerId
GetPolicyServerId method [Security]
GetPolicyServerId method [Security]
ICertPropertyEnrollmentPolicyServer interface
ICertPropertyEnrollmentPolicyServer interface [Security]
GetPolicyServerId method
ICertPropertyEnrollmentPolicyServer.GetPolicyServerId
ICertPropertyEnrollmentPolicyServer::GetPolicyServerId
certenroll/ICertPropertyEnrollmentPolicyServer::GetPolicyServerId
security.icertpropertyenrollmentpolicyserver_getpolicyserverid
security\icertpropertyenrollmentpolicyserver_getpolicyserverid.htm
security
e0cd9f41-d697-4c27-9aff-a37de62d1bad
12/05/2018
GetPolicyServerId, GetPolicyServerId method [Security], GetPolicyServerId method [Security],ICertPropertyEnrollmentPolicyServer interface, ICertPropertyEnrollmentPolicyServer interface [Security],GetPolicyServerId method, ICertPropertyEnrollmentPolicyServer.GetPolicyServerId, ICertPropertyEnrollmentPolicyServer::GetPolicyServerId, certenroll/ICertPropertyEnrollmentPolicyServer::GetPolicyServerId, security.icertpropertyenrollmentpolicyserver_getpolicyserverid
certenroll.h
Windows
Windows 7 [desktop apps only]
Windows Server 2008 R2 [desktop apps only]
Certenroll.idl
Windows
19H1
ICertPropertyEnrollmentPolicyServer::GetPolicyServerId
certenroll/ICertPropertyEnrollmentPolicyServer::GetPolicyServerId
c++
APIRef
kbSyntax
COM
Certenroll.h
ICertPropertyEnrollmentPolicyServer.GetPolicyServerId

ICertPropertyEnrollmentPolicyServer::GetPolicyServerId

-description

The GetPolicyServerId method retrieves a string that uniquely identifies the certificate enrollment policy (CEP) server. This value is set by the Initialize method.

-parameters

-param pValue [out, retval]

Pointer to a BSTR that receives the ID string.

-returns

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
CERTSRV_E_PROPERTY_EMPTY
The property value is empty.
E_OUTOFMEMORY
There was insufficient memory available to create the URL string.
HRESULT_FROM_WIN32(OLE_E_BLANK)
The property value has not been initialized.

-remarks

The ID can be any string. It is set by the administrator who installs the CEP server.

-see-also

ICertPropertyEnrollmentPolicyServer