Hinweis
Für den Zugriff auf diese Seite ist eine Autorisierung erforderlich. Sie können versuchen, sich anzumelden oder das Verzeichnis zu wechseln.
Für den Zugriff auf diese Seite ist eine Autorisierung erforderlich. Sie können versuchen, das Verzeichnis zu wechseln.
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)
Syntax
'Declaration
Public Sub AddPrivateKey ( _
privateKeyPath As String, _
decryptionPassword As String _
)
'Usage
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
)
Parameter
- privateKeyPath
Typ: System.String
A String value that specifies the system path to the private key file.
- decryptionPassword
Typ: System.String
A String value that specifies the decryption password for the private key.
Beispiele
Siehe auch
Verweis
Microsoft.SqlServer.Management.Smo-Namespace