Applies To: Operations Manager for System Center 2012
Note: This API is now obsolete.
Specifies the criteria for the M:Microsoft.EnterpriseManagement.ManagementGroup.GetMonitors(Microsoft.EnterpriseManagement.Configuration.MonitorCriteria) method, limiting the returned objects to those that meet the criteria.
Namespace:   Microsoft.EnterpriseManagement.Configuration
Assembly:  Microsoft.EnterpriseManagement.OperationsManager (in Microsoft.EnterpriseManagement.OperationsManager.dll)
Inheritance Hierarchy
System.Object
  Microsoft.EnterpriseManagement.Common.QueryCriteria<T>
    Microsoft.EnterpriseManagement.Configuration.ManagementPackMonitorCriteria
      Microsoft.EnterpriseManagement.Configuration.MonitorCriteria
Syntax
[ObsoleteAttribute("Use ManagementPackMonitorCriteria and replace Category in criteria to CategoryOld")]
public class MonitorCriteria : ManagementPackMonitorCriteria
[ObsoleteAttribute("Use ManagementPackMonitorCriteria and replace Category in criteria to CategoryOld")]
public ref class MonitorCriteria : ManagementPackMonitorCriteria
[<ObsoleteAttribute("Use ManagementPackMonitorCriteria and replace Category in criteria to CategoryOld")>]
type MonitorCriteria = 
    class
        inherit ManagementPackMonitorCriteria
    end
<ObsoleteAttribute("Use ManagementPackMonitorCriteria and replace Category in criteria to CategoryOld")>
Public Class MonitorCriteria
    Inherits ManagementPackMonitorCriteria
Constructors
| Name | Description | |
|---|---|---|
| .jpeg) | MonitorCriteria(String) | Initializes a new MonitorCriteria object. | 
Properties
| Name | Description | |
|---|---|---|
| .jpeg) | BackCompatPropertyToNewPropertyMappings | (Overrides ManagementPackMonitorCriteria.BackCompatPropertyToNewPropertyMappings.) | 
| .jpeg) | Criteria | (Inherited from QueryCriteria<T>.) | 
| .jpeg) | CriteriaXml | (Inherited from QueryCriteria<T>.) | 
Methods
| Name | Description | |
|---|---|---|
| .jpeg) | Equals(Object) | (Inherited from Object.) | 
| .jpeg) | Finalize() | (Inherited from Object.) | 
| .jpeg) | GenerateDalCriteria(IList<String>, ManagementPackClass, ManagementPack, EnterpriseManagementGroup, IList<String>) | (Inherited from QueryCriteria<T>.) | 
| .jpeg) | GetHashCode() | (Inherited from Object.) | 
| .jpeg) | GetInvalidCriteriaElements() | (Inherited from QueryCriteria<T>.) | 
| .jpeg) | GetType() | (Inherited from Object.) | 
| .jpeg) | IsValidPropertyName(String) | (Inherited from QueryCriteria<T>.) | 
| .jpeg) | IsValidXmlString() | (Inherited from QueryCriteria<T>.) | 
| .jpeg) | MemberwiseClone() | (Inherited from Object.) | 
| .jpeg) | ParseCriteria() | (Inherited from QueryCriteria<T>.) | 
| .jpeg) | PropertyNameToColumnName(String, String) | (Inherited from QueryCriteria<T>.) | 
| .jpeg) | ToString() | (Inherited from QueryCriteria<T>.) | 
Remarks
The following property names are valid names that can be used in the criteria expression:
- Id 
- Name 
- ManagementPackId 
- Accessibility 
- DisplayName 
- Description 
- TargetMonitoringClassId 
- Algorithm 
- AlgorithmParameter 
- MonitoringRelationshipClassId 
- Category 
- MemberMonitorId 
- ParentMonitorId 
- IsUnitMonitor 
- IsInternalRollupMonitor 
- IsExternalRollupMonitor 
- AlertOnState 
- AlertAutoResolve 
- AlertPriority 
- AlertMessage 
- HasNonCategoryOverride 
For information about the criteria expression syntax, see Criteria Expression Syntax.
Examples
For example code using the MonitorCriteria class, see How to Query for Monitors
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.Configuration Namespace
Return to top