AddPrivateKey 方法
Adds a private key to the asymmetric key with the specified password.
命名空間: Microsoft.SqlServer.Management.Smo
組件: Microsoft.SqlServer.Smo (在 Microsoft.SqlServer.Smo.dll 中)
語法
'宣告
Public Sub AddPrivateKey ( _
password As String _
)
'用途
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
)
參數
- password
型別:System. . :: . .String
A String value that specifies the private key password.