CATemplateRemoveRange Method

Removes certificate templates from issuance by a specified Certification Authority server. The method do not writes updated template list to Certification Authority.

Definition

Namespace: PKI.CertificateServices
Assembly: SysadminsLV.PKI.Win (in SysadminsLV.PKI.Win.dll) Version: 4.0.1.0 (4.0.1.0)
C#
public void RemoveRange(
	CertificateTemplate[] templates
)

Parameters

templates  CertificateTemplate
One or more PKI.CertificateTemplates objects to remove.

Remarks

If the Templates property do not contains certificate template object, the template is silently skipped.

Exceptions

ArgumentNullExceptionThe template parameter is null reference.
UninitializedObjectExceptionAn object in the template parameter is not initialized.

See Also