Share via


InstallAgentConfiguration.SetInstallAccount Method (String, String, SecureString)

 

Applies To: Operations Manager for System Center 2012

Sets the account used by to install the agent.

Namespace:   Microsoft.EnterpriseManagement.Administration
Assembly:  Microsoft.EnterpriseManagement.OperationsManager (in Microsoft.EnterpriseManagement.OperationsManager.dll)

Syntax

public void SetInstallAccount(
    string domain,
    string userName,
    SecureString password
)
public:
void SetInstallAccount(
    String^ domain,
    String^ userName,
    SecureString^ password
)
member SetInstallAccount : 
        domain:string *
        userName:string *
        password:SecureString -> unit
Public Sub SetInstallAccount (
    domain As String,
    userName As String,
    password As SecureString
)

Parameters

  • domain
    Type: System.String

    The domain of the account used when installing and setting up the agent.

  • userName
    Type: System.String

    The user name for the account used to install the agent.

See Also

InstallAgentConfiguration Class
Microsoft.EnterpriseManagement.Administration Namespace

Return to top