Export (0) Print
Expand All

Certificate.AddPrivateKey Method (String, String)

Adds a private key to the certificate with the specified decryption password.

Namespace:  Microsoft.SqlServer.Management.Smo
Assembly:  Microsoft.SqlServer.Smo (in Microsoft.SqlServer.Smo.dll)

public void AddPrivateKey(
	string privateKeyPath,
	string decryptionPassword
)

Parameters

privateKeyPath
Type: String
A String value that specifies the system path to the private key file.
decryptionPassword
Type: String
A String value that specifies the decryption password for the private key.
Was this page helpful?
(1500 characters remaining)
Thank you for your feedback

Community Additions

ADD
Show:
© 2014 Microsoft