IPAddressRangeDiscoveryCriteria Class

Updated: April 16, 2012

Specifies the criteria for a range of IP addresses in which to discover network devices, limiting the returned objects to those that meet the criteria. Namespace: Microsoft.EnterpriseManagement.Administration
Assembly: Microsoft.EnterpriseManagement.OperationsManager (in Microsoft.EnterpriseManagement.OperationsManager.dll)Dim instance As IPAddressRangeDiscoveryCriteria Public Class IPAddressRangeDiscoveryCriteriapublic class IPAddressRangeDiscoveryCriteriapublic ref class IPAddressRangeDiscoveryCriteriapublic class IPAddressRangeDiscoveryCriteriapublic class IPAddressRangeDiscoveryCriteria

The following example shows how to initialize the IPAddressRangeDiscoveryCriteria class. The resulting object specifies a range of 10 IP addresses in which to discover network devices.

byte[] startAddress = new byte[4] {192,168,1,0};
byte[] endAddress = new byte[4] {192,168,1,9};
System.Net.IPAddress start = new System.Net.IPAddress(startAddress);
System.Net.IPAddress end = new System.Net.IPAddress(endAddress);

IPAddressRangeDiscoveryCriteria criteria = new IPAddressRangeDiscoveryCriteria(start, end);

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