Share via


MonitorCriteria Class

Definition

Caution

Use ManagementPackMonitorCriteria and replace Category in criteria to CategoryOld

Console MonitoringTask criteria.

public ref class MonitorCriteria : Microsoft::EnterpriseManagement::Configuration::ManagementPackMonitorCriteria
[System.Obsolete("Use ManagementPackMonitorCriteria and replace Category in criteria to CategoryOld")]
public class MonitorCriteria : Microsoft.EnterpriseManagement.Configuration.ManagementPackMonitorCriteria
type MonitorCriteria = class
    inherit ManagementPackMonitorCriteria
Public Class MonitorCriteria
Inherits ManagementPackMonitorCriteria
Inheritance
Attributes

Examples

For example code using the MonitorCriteria class, see How to Query for Monitors

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.

Constructors

MonitorCriteria(String)

Constructor.

Properties

BackCompatPropertyToNewPropertyMappings

Gets the back compat property to new property mappings.

Applies to