Recover Method

ServiceMasterKey.Recover Method (String, String)

 

Recovers a service master key, in case the service master key has been changed external to SQL Server.

Namespace:   Microsoft.SqlServer.Management.Smo
Assembly:  Microsoft.SqlServer.Smo (in Microsoft.SqlServer.Smo.dll)

public void Recover(
	string oldAccount,
	string oldPassword
)

Parameters

oldAccount
Type: System.String

A String value that specifies the old account that was used to open the service master key.

oldPassword
Type: System.String

A String value that specifies the associated password for the account that was used to open the service master key.

Return to top
Show:
© 2016 Microsoft