Export (0) Print
Expand All

ServiceMasterKey.Recover Method

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: String
A String value that specifies the old account that was used to open the service master key.
oldPassword
Type: String
A String value that specifies the associated password for the account that was used to open the service master key.

Community Additions

ADD
Show:
© 2015 Microsoft