Sets the credentials that are used to uninstall agents.
Namespace:
Microsoft.EnterpriseManagement.Administration
Assembly: Microsoft.EnterpriseManagement.OperationsManager
(in microsoft.enterprisemanagement.operationsmanager.dll)
Usage
Visual Basic |
Dim instance As UninstallAgentConfiguration
Dim domain As String
Dim userName As String
Dim password As SecureString
instance.SetInstallAccount(domain, userName, password)
|
Syntax
Visual Basic |
Public Sub SetInstallAccount ( _
domain As String, _
userName As String, _
password As SecureString _
)
|
C# |
public void SetInstallAccount (
string domain,
string userName,
SecureString password
)
|
C++ |
public:
void SetInstallAccount (
String^ domain,
String^ userName,
SecureString^ password
)
|
J# |
public void SetInstallAccount (
String domain,
String userName,
SecureString password
)
|
JScript |
public function SetInstallAccount (
domain : String,
userName : String,
password : SecureString
)
|
Parameters
- domain
-
The name of the domain in which the specified user account is
defined.
- userName
-
The name of the user account.
- password
-
The password for the specified user account.
Thread Safety
Any public static (Shared in Visual
Basic) members of this type are thread safe. Any instance members
are not guaranteed to be thread safe.
Platforms
Development Platforms
Windows Server 2008, Windows Vista, Windows Server 2003, and
Windows XP
Target Platforms
Windows Server 2008,Windows Server 2003,Windows Vista,Windows
XP
See Also