Share via


ComputerNameDiscoveryCriteria.SetComputerNames Method

[This topic is pre-release documentation and is subject to change in future releases. Blank topics are included as placeholders.]

Sets the names of the Windows-based computers that you want to discover.

Namespace: Microsoft.EnterpriseManagement.Administration
Assembly: Microsoft.EnterpriseManagement.OperationsManager (in Microsoft.EnterpriseManagement.OperationsManager.dll)

Usage

'Usage
Dim instance As ComputerNameDiscoveryCriteria
Dim computerNames As IList(Of String)

instance.SetComputerNames(computerNames)

Syntax

'Declaration
Public Sub SetComputerNames ( _
    computerNames As IList(Of String) _
)
public void SetComputerNames (
    IList<string> computerNames
)
public:
void SetComputerNames (
    IList<String^>^ computerNames
)
public void SetComputerNames (
    IList<String> computerNames
)
public function SetComputerNames (
    computerNames : IList<String>
)

Parameters

  • computerNames
    The names of the Windows-based computers that you want to discover.

Remarks

The computer names in the list must be provided in the format <Domain_Name>\<Computer_FQDN>. For example, mycompany.com\machine1.mycompany.com.

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

ComputerNameDiscoveryCriteria Class
ComputerNameDiscoveryCriteria Members
Microsoft.EnterpriseManagement.Administration Namespace