Freigeben über


AsymmetricKey.AddPrivateKey-Methode

Adds a private key to the asymmetric key with the specified password.

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

Syntax

'Declaration
Public Sub AddPrivateKey ( _
    password As String _
)
'Usage
Dim instance As AsymmetricKey 
Dim password As String

instance.AddPrivateKey(password)
public void AddPrivateKey(
    string password
)
public:
void AddPrivateKey(
    String^ password
)
member AddPrivateKey : 
        password:string -> unit
public function AddPrivateKey(
    password : String
)

Parameter

Beispiele

Aufrufen von Methoden

Siehe auch

Verweis

AsymmetricKey Klasse

Microsoft.SqlServer.Management.Smo-Namespace

Andere Ressourcen

CREATE ASYMMETRIC KEY (Transact-SQL)