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)

Usage

Visual Basic
Dim instance As IPAddressRangeDiscoveryCriteria

Syntax

Visual Basic
Public Class IPAddressRangeDiscoveryCriteria
C#
public class IPAddressRangeDiscoveryCriteria
C++
public ref class IPAddressRangeDiscoveryCriteria
J#
public class IPAddressRangeDiscoveryCriteria
JScript
public class IPAddressRangeDiscoveryCriteria

Example

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.

C#  Copy Code
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);

Inheritance Hierarchy

System.Object
  Microsoft.EnterpriseManagement.Administration.IPAddressRangeDiscoveryCriteria

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