CATemplateAdd Method
Adds certificate template to issue by a specified Certification Authority server. The method do not writes newly assigned
templates to Certification Authority.
Namespace: PKI.CertificateServicesAssembly: SysadminsLV.PKI.Win (in SysadminsLV.PKI.Win.dll) Version: 4.0.1.0 (4.0.1.0)
public bool Add(
CertificateTemplate template
)
Public Function Add (
template As CertificateTemplate
) As Boolean
public:
bool Add(
CertificateTemplate^ template
)
member Add :
template : CertificateTemplate -> bool
- template CertificateTemplate
- An CertificateTemplate object to add.
BooleanTrue if certificate template is added; otherwise
False.
This method returns
False in the following circumstances:
- Current CA server already contains specified certificate template in the issuance list.
- Specified certificate template is not supported by this CA version.
If the method returns
True, a
IsModified property is set to
True.