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

Visual Basic
Dim instance As ComputerNameDiscoveryCriteria
Dim computerNames As IList(Of String)

instance.SetComputerNames(computerNames)

Syntax

Visual Basic
Public Sub SetComputerNames ( _
		computerNames As IList(Of String) _
)
C#
public void SetComputerNames (
		IList<string> computerNames
)
C++
public:
void SetComputerNames (
		IList<String^>^ computerNames
)
J#
public void SetComputerNames (
		IList<String> computerNames
)
JScript
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 Server 2008, Windows Vista, Windows Server 2003, and Windows XP

Target Platforms

Windows Server 2008,Windows Server 2003,Windows Vista,Windows XP

See Also