Applies To: Operations Manager for System Center 2012
Sets the credentials that are used to discover the computers on which agents are uninstalled.
Namespace:   Microsoft.EnterpriseManagement.Administration
Assembly:  Microsoft.EnterpriseManagement.OperationsManager (in Microsoft.EnterpriseManagement.OperationsManager.dll)
Syntax
public void SetActionAccount(
    string domain,
    string userName,
    SecureString password
)
public:
void SetActionAccount(
    String^ domain,
    String^ userName,
    SecureString^ password
)
member SetActionAccount : 
        domain:string *
        userName:string *
        password:SecureString -> unit
Public Sub SetActionAccount (
    domain As String,
    userName As String,
    password As SecureString
)
Parameters
- domain 
 Type: System.String- The name of the domain in which the specified user account is defined. 
- userName 
 Type: System.String- The name of the user account. 
- password 
 Type: System.Security.SecureString- The password for the specified user account. 
See Also
UninstallAgentConfiguration Class
Microsoft.EnterpriseManagement.Administration Namespace
Return to top