Export (0) Print
Expand All

ServerProxyAccount.SetAccount Method (String, SecureString)

Sets the account name and secure 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,
	SecureString password
)

Parameters

windowsAccount
Type: String
A String value that specifies the name of the account.
password
Type: SecureString
A SecureString value that specifies the password for the account.
Was this page helpful?
(1500 characters remaining)
Thank you for your feedback

Community Additions

ADD
Show:
© 2014 Microsoft