Click or drag to resize

KRAFlagSetInfo Method

Updates Key Recovery Agent flags by writing them to Certification Authority.

Namespace:  PKI.CertificateServices.Flags
Assembly:  SysadminsLV.PKI (in SysadminsLV.PKI.dll) Version: 3.7.0.0 (3.7.0.0)
Syntax
public bool SetInfo(
	bool restart
)

Parameters

restart
Type: SystemBoolean
Indicates whether to restart certificate services to immediately apply changes. Updated settings has no effect until CA service is restarted.

Return Value

Type: Boolean
True if configuration was changed. If an object was not modified since it was instantiated, configuration is not updated and the method returns False.
Exceptions
ExceptionCondition
UnauthorizedAccessException The caller do not have sufficient permissions to make changes in the CA configuration.
ServerUnavailableException The target CA server could not be contacted via remote registry and RPC protocol.
Remarks
The caller must have Administrator permissions on the target CA server.
See Also