Initializes a new MonitoringRuleCriteria object. Namespace: Microsoft.EnterpriseManagement.Configuration
Assembly: Microsoft.EnterpriseManagement.OperationsManager (in microsoft.enterprisemanagement.operationsmanager.dll)

Usage

Visual Basic
Dim criteria As String

Dim instance As New MonitoringRuleCriteria(criteria)

Syntax

Visual Basic
Public Sub New ( _
		criteria As String _
)
C#
public MonitoringRuleCriteria (
		string criteria
)
C++
public:
MonitoringRuleCriteria (
		String^ criteria
)
J#
public MonitoringRuleCriteria (
		String criteria
)
JScript
public function MonitoringRuleCriteria (
		criteria : String
)

Parameters

criteria

The criteria expression used to filter out monitoring rule results returned by the GetMonitoringRules method.

Remarks

The following property names are valid names that can be used in the criteria expression:

  • Id

  • Name

  • ManagementPackId

  • TargetMonitoringClassId

  • Enabled

  • Category

  • DisplayName

  • Description

  • ConfirmDelivery

  • TimeAdded

  • LastModified

  • Remotable

  • Priority

  • DiscardLevel

  • HasNonCategoryOverride

For information about the criteria expression syntax, see Criteria Expression Syntax.


Platforms

Development Platforms

Windows Server 2008, Windows Vista, Windows Server 2003, and Windows XP

Target Platforms

Windows Server 2008,Windows Server 2003,Windows Vista,Windows XP

See Also