次の方法で共有


ServiceMasterKey.Recover(String, String) Method

Definition

Recovers a service master key, in case the service master key has been changed outside of SQL Server. The master key will be decrypted with the supplied credentials, and re-encrypted with the current service account credentials.

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

Parameters

oldAccount
String
oldPassword
String

Applies to