AutoenrollmentGetPolicyServers Method |
Gets locally registered enrollment policy server endpoints.
Namespace:
PKI.Enrollment
Assembly:
SysadminsLV.PKI (in SysadminsLV.PKI.dll) Version: 3.7.0.0 (3.7.0.0)
Syntax public static PolicyServerClient[] GetPolicyServers(
bool userContext
)
Public Shared Function GetPolicyServers (
userContext As Boolean
) As PolicyServerClient()
public:
static array<PolicyServerClient^>^ GetPolicyServers(
bool userContext
)
static member GetPolicyServers :
userContext : bool -> PolicyServerClient[]
Parameters
- userContext
- Type: SystemBoolean
Specifies whether to retrieve enrollment policy server endpoints for user or machine context.
Return Value
Type:
PolicyServerClientAn array of registered enrollment policy server endpoints.
Exceptions Exception | Condition |
---|
NotSupportedException | The operating system do not support certificate enrollment policy servers. |
See Also