Certificate.AddPrivateKey Method

Include Protected Members
Include Inherited Members

Adds a private key password to the certificate.

This member is overloaded. For complete information about this member, including syntax, usage, and examples, click a name in the overload list.

Overload List

  Name Description
Public method AddPrivateKey(String, String) Adds a private key to the certificate with the specified decryption password.
Public method AddPrivateKey(String, String, String) Adds a private key to the certificate with the specified decryption and encryption passwords.

Top

See Also

Reference

Certificate Class

Microsoft.SqlServer.Management.Smo Namespace