Initializes a new MonitoringClassCriteria 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 MonitoringClassCriteria(criteria)

Syntax

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

Parameters

criteria

The criteria expression used to filter out monitoring class results returned by the GetMonitoringClasses method.

Example

For an example of the MonitoringClassCriteria constructor, see How to Insert Custom Event and Performance Data.

Remarks

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

  • Id

  • Name

  • BaseMonitoringClassId

  • ManagementPackId

  • Hosted

  • Abstract

  • Accessibility

  • Singleton

  • Sealed

  • TimeAdded

  • LastModified

  • DisplayName

  • Description

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

[an error occurred while processing this directive]