ServiceMasterKey.Recover(String, String) 方法

定義

如果服務主金鑰在 SQL Server 外被更改,則會恢復服務主金鑰。 主金鑰會用提供的憑證解密,並用現有的服務帳號憑證重新加密。

public void Recover(string oldAccount, string oldPassword);
member this.Recover : string * string -> unit
Public Sub Recover (oldAccount As String, oldPassword As String)

參數

oldAccount
String
oldPassword
String

適用於