Sets the account used by the agent when it is
running. Namespace:
Microsoft.EnterpriseManagement.Administration
Assembly: Microsoft.EnterpriseManagement.OperationsManager (in Microsoft.EnterpriseManagement.OperationsManager.dll)Dim instance As BaseUpdateAgentConfiguration 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 to set for the agent account.userNameThe user name to set for the agent account.passwordThe password to set for the agent account.
Assembly: Microsoft.EnterpriseManagement.OperationsManager (in Microsoft.EnterpriseManagement.OperationsManager.dll)Dim instance As BaseUpdateAgentConfiguration 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 to set for the agent account.userNameThe user name to set for the agent account.passwordThe password to set for the agent account.
Any public static
(Shared in Visual Basic) members of this type are thread safe. Any
instance members are not guaranteed to be thread safe.