AsymmetricKey.AddPrivateKey Method
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
)
Parameters
- password
Type: System.String
A String value that specifies the private key password.
See Also