UninstallAgentConfiguration.SetInstallAccount Method

Updated: April 16, 2012

Sets the credentials that are used to uninstall agents. Namespace: Microsoft.EnterpriseManagement.Administration
Assembly: Microsoft.EnterpriseManagement.OperationsManager (in Microsoft.EnterpriseManagement.OperationsManager.dll)Dim instance As UninstallAgentConfiguration Dim domain As String Dim userName As String Dim password As SecureString instance.SetInstallAccount(domain, userName, password)Public Sub SetInstallAccount ( _ domain As String, _ userName As String, _ password As SecureString _ )public void SetInstallAccount ( string domain, string userName, SecureString password )public: void SetInstallAccount ( String^ domain, String^ userName, SecureString^ password )public void SetInstallAccount ( String domain, String userName, SecureString password )public function SetInstallAccount ( domain : String, userName : String, password : SecureString )ParametersdomainThe name of the domain in which the specified user account is defined.userNameThe name of the user account.passwordThe password for the specified user 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.

Development Platforms

Windows Vista, Windows Server 2003, and

Target Platforms