InterfaceFlagSetInfo Method

Updates management interface flags by writing them to Certification Authority.

Definition

Namespace: PKI.CertificateServices.Flags
Assembly: SysadminsLV.PKI.Win (in SysadminsLV.PKI.Win.dll) Version: 4.0.1.0 (4.0.1.0)
C#
public bool SetInfo(
	bool restart
)

Parameters

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

Return Value

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.

Remarks

The caller must have Administrator permissions on the target CA server.

Exceptions

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.

See Also