Compartilhar via


IPAddressRangeDiscoveryCriteria Class

 

Applies To: Operations Manager for System Center 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)

Inheritance Hierarchy

System.Object
  Microsoft.EnterpriseManagement.Administration.IPAddressRangeDiscoveryCriteria

Syntax

public class IPAddressRangeDiscoveryCriteria
public ref class IPAddressRangeDiscoveryCriteria 
type IPAddressRangeDiscoveryCriteria = class end
Public Class IPAddressRangeDiscoveryCriteria

Constructors

Name Description
System_CAPS_pubmethod IPAddressRangeDiscoveryCriteria()

Initializes the IPAddressRangeDiscoveryCriteria class.

System_CAPS_pubmethod IPAddressRangeDiscoveryCriteria(IPAddress, IPAddress)

Initializes the IPAddressRangeDiscoveryCriteria class with a consecutive range of IP addresses in which to discover network devices.

Properties

Name Description
System_CAPS_pubproperty FromIPAddress

Gets or sets the first IP address in the range of addresses in which to discover network devices.

System_CAPS_pubproperty ToIPAddress

Gets or sets the last IP address in the range of addresses in which to discover network devices.

Methods

Name Description
System_CAPS_pubmethod Equals(Object)

(Inherited from Object.)

System_CAPS_protmethod Finalize()

(Inherited from Object.)

System_CAPS_pubmethod GetHashCode()

(Inherited from Object.)

System_CAPS_pubmethod GetType()

(Inherited from Object.)

System_CAPS_protmethod MemberwiseClone()

(Inherited from Object.)

System_CAPS_pubmethod ToString()

(Inherited from Object.)

System_CAPS_pubmethodSystem_CAPS_static ValidAddressFormat(String)

Determines whether a given IP address is defined in a valid format.

Examples

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);

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.

See Also

M:Microsoft.EnterpriseManagement.Administration.DeviceDiscoveryConfiguration.#ctor(Microsoft.EnterpriseManagement.Configuration.MonitoringClass,Microsoft.EnterpriseManagement.Administration.IPAddressRangeDiscoveryCriteria)
IPAddressRangeDiscoveryCriteria
Microsoft.EnterpriseManagement.Administration Namespace

Return to top