DeviceDiscoveryConfiguration.SetActionAccount Method
[This topic is pre-release documentation and is subject to change in future releases. Blank topics are included as placeholders.]
Sets this configuration to perform device discovery using the specified credentials.
Namespace: Microsoft.EnterpriseManagement.Administration
Assembly: Microsoft.EnterpriseManagement.OperationsManager (in Microsoft.EnterpriseManagement.OperationsManager.dll)
Usage
'Usage
Dim instance As DeviceDiscoveryConfiguration
Dim domain As String
Dim userName As String
Dim password As SecureString
instance.SetActionAccount(domain, userName, password)
Syntax
'Declaration
Public Sub SetActionAccount ( _
domain As String, _
userName As String, _
password As SecureString _
)
public void SetActionAccount (
string domain,
string userName,
SecureString password
)
public:
void SetActionAccount (
String^ domain,
String^ userName,
SecureString^ password
)
public void SetActionAccount (
String domain,
String userName,
SecureString password
)
public function SetActionAccount (
domain : String,
userName : String,
password : SecureString
)
Parameters
- domain
The name of the domain that contains the specified user account.
- userName
The user account to use when performing device discovery.
- 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 Vista, Windows Server 2003, and
Target Platforms
See Also
Reference
DeviceDiscoveryConfiguration Class
DeviceDiscoveryConfiguration Members
Microsoft.EnterpriseManagement.Administration Namespace