Certificate.AddPrivateKey Método (String, String)
Adds a private key to the certificate with the specified decryption password.
Espacio de nombres: Microsoft.SqlServer.Management.Smo
Ensamblado: Microsoft.SqlServer.Smo (en Microsoft.SqlServer.Smo.dll)
Sintaxis
'Declaración
Public Sub AddPrivateKey ( _
privateKeyPath As String, _
decryptionPassword As String _
)
'Uso
Dim instance As Certificate
Dim privateKeyPath As String
Dim decryptionPassword As String
instance.AddPrivateKey(privateKeyPath, _
decryptionPassword)
public void AddPrivateKey(
string privateKeyPath,
string decryptionPassword
)
public:
void AddPrivateKey(
String^ privateKeyPath,
String^ decryptionPassword
)
member AddPrivateKey :
privateKeyPath:string *
decryptionPassword:string -> unit
public function AddPrivateKey(
privateKeyPath : String,
decryptionPassword : String
)
Parámetros
- privateKeyPath
Tipo: System.String
A String value that specifies the system path to the private key file.
- decryptionPassword
Tipo: System.String
A String value that specifies the decryption password for the private key.
Ejemplos
Vea también
Referencia
Espacio de nombres Microsoft.SqlServer.Management.Smo