ServerProxyAccount.SetAccount Method (String, SecureString)
SQL Server 2012
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)
Parameters
- windowsAccount
- Type: System.String
A String value that specifies the name of the account.
- password
- Type: System.Security.SecureString
A SecureString value that specifies the password for the account.
