CertificateStore Object : DeleteCert Method |
Visual Basic |
---|
Public Sub DeleteCert( _ ByVal Cert As Certificate _ ) |
This method is used to remove an existing certificate from a certificate store. If the certificate does not exist a certNotFound error will be thrown. If the certificate cant be deleted a certNoDelete error will be thrown. For any other error a certError will be thrown.
This method may generate the following error code (refer to CertificateErrorConstants for a complete list of error codes):