TechNet
Export (0) Print
Expand All

ServerProxyAccount.SetAccount Method (String, String)

 

Sets the account name and password for the proxy account on the instance of SQL Server.

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

public void SetAccount(
	string windowsAccount,
	string password
)

Parameters

windowsAccount
Type: System.String

A String value that specifies the name of the account.

password
Type: System.String

A String value that specifies the password for the account.

Return to top
Show:
© 2016 Microsoft