Sets the account used by the agent when the
agent runs. Namespace:
Microsoft.EnterpriseManagement.Administration
Assembly: Microsoft.EnterpriseManagement.OperationsManager (in Microsoft.EnterpriseManagement.OperationsManager.dll)Dim instance As InstallAgentConfiguration Dim domain As String Dim userName As String Dim password As SecureString instance.SetAgentAccount(domain, userName, password)Public Sub SetAgentAccount ( _ domain As String, _ userName As String, _ password As SecureString _ )public void SetAgentAccount ( string domain, string userName, SecureString password )public: void SetAgentAccount ( String^ domain, String^ userName, SecureString^ password )public void SetAgentAccount ( String domain, String userName, SecureString password )public function SetAgentAccount ( domain : String, userName : String, password : SecureString )ParametersdomainThe domain of the account used by the agent.userNameThe user name for the account used to run the agent.passwordThe password for the account used to run the agent.
Assembly: Microsoft.EnterpriseManagement.OperationsManager (in Microsoft.EnterpriseManagement.OperationsManager.dll)Dim instance As InstallAgentConfiguration Dim domain As String Dim userName As String Dim password As SecureString instance.SetAgentAccount(domain, userName, password)Public Sub SetAgentAccount ( _ domain As String, _ userName As String, _ password As SecureString _ )public void SetAgentAccount ( string domain, string userName, SecureString password )public: void SetAgentAccount ( String^ domain, String^ userName, SecureString^ password )public void SetAgentAccount ( String domain, String userName, SecureString password )public function SetAgentAccount ( domain : String, userName : String, password : SecureString )ParametersdomainThe domain of the account used by the agent.userNameThe user name for the account used to run the agent.passwordThe password for the account used to run the agent.
Any public static
(Shared in Visual Basic) members of this type are thread safe. Any
instance members are not guaranteed to be thread safe.