Hinweis
Für den Zugriff auf diese Seite ist eine Autorisierung erforderlich. Sie können versuchen, sich anzumelden oder das Verzeichnis zu wechseln.
Für den Zugriff auf diese Seite ist eine Autorisierung erforderlich. Sie können versuchen, das Verzeichnis zu wechseln.
Applies To: Operations Manager for System Center 2012
Sets the account used by the agent when the agent runs.
Namespace: Microsoft.EnterpriseManagement.Administration
Assembly: Microsoft.EnterpriseManagement.OperationsManager (in Microsoft.EnterpriseManagement.OperationsManager.dll)
Syntax
public void SetAgentAccount(
string domain,
string userName,
SecureString password
)
public:
void SetAgentAccount(
String^ domain,
String^ userName,
SecureString^ password
)
member SetAgentAccount :
domain:string *
userName:string *
password:SecureString -> unit
Public Sub SetAgentAccount (
domain As String,
userName As String,
password As SecureString
)
Parameters
domain
Type: System.StringThe domain of the account used by the agent.
userName
Type: System.StringThe user name for the account used to run the agent.
password
Type: System.Security.SecureStringThe password for the account used to run the agent.
See Also
InstallAgentConfiguration Class
Microsoft.EnterpriseManagement.Administration Namespace
Return to top