TechNet
Export (0) Print
Expand All

ServiceMasterKey.ChangeAccount Method (String, String)

 

Encrypts the service master key with the new, specified credentials.

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

public void ChangeAccount(
	string newAccount,
	string newPassword
)

Parameters

newAccount
Type: System.String

A String value that specifies the account with which to open the service master key.

newPassword
Type: System.String

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

Return to top
Show:
© 2016 Microsoft