MonitoringObjectCriteria Class
Applies To: Operations Manager for System Center 2012
Specifies the criteria for the GetMonitoringObjects method and the M:Microsoft.EnterpriseManagement.Monitoring.PartialMonitoringObject.GetRelatedMonitoringObjects(Microsoft.EnterpriseManagement.Monitoring.MonitoringObjectCriteria) method, limiting the returned objects to those that meet the criteria.
Namespace: Microsoft.EnterpriseManagement.Monitoring
Assembly: Microsoft.EnterpriseManagement.OperationsManager (in Microsoft.EnterpriseManagement.OperationsManager.dll)
Inheritance Hierarchy
System.Object
Microsoft.EnterpriseManagement.Common.QueryCriteria<T>
Microsoft.EnterpriseManagement.Common.EnterpriseManagementObjectCriteria
Microsoft.EnterpriseManagement.Monitoring.MonitoringObjectCriteria
Syntax
public class MonitoringObjectCriteria : EnterpriseManagementObjectCriteria
public ref class MonitoringObjectCriteria : EnterpriseManagementObjectCriteria
type MonitoringObjectCriteria =
class
inherit EnterpriseManagementObjectCriteria
end
Public Class MonitoringObjectCriteria
Inherits EnterpriseManagementObjectCriteria
Constructors
Name | Description | |
---|---|---|
MonitoringObjectCriteria(String, ManagementPackClass) | Initializes a new MonitoringObjectCriteria object. |
|
MonitoringObjectCriteria(String, ManagementPackClass, EnterpriseManagementGroup) | ||
MonitoringObjectCriteria(String, ManagementPackClass, ManagementPack, EnterpriseManagementGroup) |
Properties
Name | Description | |
---|---|---|
BackCompatPropertyToNewPropertyMappings | (Inherited from QueryCriteria<T>.) |
|
Criteria | (Inherited from QueryCriteria<T>.) |
|
CriteriaXml | (Inherited from QueryCriteria<T>.) |
|
Empty | ||
ManagementPackClass | (Inherited from EnterpriseManagementObjectCriteria.) |
|
MonitoringClass | Obsolete.Gets the MonitoringClass object that this criteria corresponds to. |
Methods
Name | Description | |
---|---|---|
Equals(Object) | (Inherited from Object.) |
|
Finalize() | (Inherited from Object.) |
|
GenerateDalCriteria(IList<String>, ManagementPackClass, ManagementPack, EnterpriseManagementGroup, IList<String>) | (Inherited from QueryCriteria<T>.) |
|
GetHashCode() | (Inherited from Object.) |
|
GetInvalidCriteriaElements() | (Inherited from EnterpriseManagementObjectCriteria.) |
|
GetNonUniquePropertyNames() | (Inherited from EnterpriseManagementObjectCriteria.) |
|
GetSpecialPropertyNames() | ||
GetType() | (Inherited from Object.) |
|
GetValidPropertyNames() | (Inherited from EnterpriseManagementObjectCriteria.) |
|
IsValidPropertyName(String) | (Inherited from EnterpriseManagementObjectCriteria.) |
|
IsValidXmlString() | (Inherited from QueryCriteria<T>.) |
|
MemberwiseClone() | (Inherited from Object.) |
|
ParseCriteria() | (Inherited from QueryCriteria<T>.) |
|
PropertyNameToColumnName(String, String) | (Inherited from EnterpriseManagementObjectCriteria.) |
|
ToString() | (Inherited from QueryCriteria<T>.) |
Remarks
You can get a list of the property names that can be used in the criteria expression by using the M:Microsoft.EnterpriseManagement.Monitoring.MonitoringObjectCriteria.GetValidPropertyNames method. For information about the criteria expression syntax, see Criteria Expression Syntax.
Examples
The following example demonstrates an instance of the MonitoringObjectCriteria class.
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
Microsoft.EnterpriseManagement.Monitoring Namespace
Return to top