ComputerNameDiscoveryCriteria.SetComputerNames Method

Updated: April 16, 2012

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)Dim instance As ComputerNameDiscoveryCriteria Dim computerNames As IList(Of String) instance.SetComputerNames(computerNames)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> )ParameterscomputerNamesThe names of the Windows-based computers that you want to discover.

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


Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Development Platforms

Windows Vista, Windows Server 2003, and

Target Platforms