ChangePrivateKeyPassword 方法

Modifies the private key password that is used to secure the private key for the certificate.

命名空间:  Microsoft.SqlServer.Management.Smo
程序集:  Microsoft.SqlServer.Smo(在 Microsoft.SqlServer.Smo.dll 中)

语法

声明
Public Sub ChangePrivateKeyPassword ( _
    oldPassword As String, _
    newPassword As String _
)
用法
Dim instance As Certificate
Dim oldPassword As String
Dim newPassword As String

instance.ChangePrivateKeyPassword(oldPassword, _
    newPassword)
public void ChangePrivateKeyPassword(
    string oldPassword,
    string newPassword
)
public:
void ChangePrivateKeyPassword(
    String^ oldPassword, 
    String^ newPassword
)
member ChangePrivateKeyPassword : 
        oldPassword:string * 
        newPassword:string -> unit 
public function ChangePrivateKeyPassword(
    oldPassword : String, 
    newPassword : String
)

参数

示例

使用加密