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 | |
---|---|---|
IPAddressRangeDiscoveryCriteria() | Initializes the IPAddressRangeDiscoveryCriteria class. |
|
IPAddressRangeDiscoveryCriteria(IPAddress, IPAddress) | Initializes the IPAddressRangeDiscoveryCriteria class with a consecutive range of IP addresses in which to discover network devices. |
Properties
Name | Description | |
---|---|---|
FromIPAddress | Gets or sets the first IP address in the range of addresses in which to discover network devices. |
|
ToIPAddress | Gets or sets the last IP address in the range of addresses in which to discover network devices. |
Methods
Name | Description | |
---|---|---|
Equals(Object) | (Inherited from Object.) |
|
Finalize() | (Inherited from Object.) |
|
GetHashCode() | (Inherited from Object.) |
|
GetType() | (Inherited from Object.) |
|
MemberwiseClone() | (Inherited from Object.) |
|
ToString() | (Inherited from Object.) |
|
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