Condividi tramite


MonitorCriteria Constructor (String)

 

Applies To: Operations Manager for System Center 2012

Initializes a new MonitorCriteria object.

Namespace:   Microsoft.EnterpriseManagement.Configuration
Assembly:  Microsoft.EnterpriseManagement.OperationsManager (in Microsoft.EnterpriseManagement.OperationsManager.dll)

Syntax

public MonitorCriteria(
    string criteria
)
public:
MonitorCriteria(
    String^ criteria
)
new : 
        criteria:string -> MonitorCriteria
Public Sub New (
    criteria As String
)

Parameters

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.

See Also

MonitorCriteria Class
Microsoft.EnterpriseManagement.Configuration Namespace

Return to top