ServiceMasterKey.Recover(String, String) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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