Used to specify the criteria for the GetMonitoringEvents method and the GetMonitoringEventReader method, limiting the returned objects to those that meet the criteria. Namespace: Microsoft.EnterpriseManagement.Monitoring
Assembly: Microsoft.EnterpriseManagement.OperationsManager (in microsoft.enterprisemanagement.operationsmanager.dll)

Usage

Visual Basic
Dim instance As MonitoringEventCriteria

Syntax

Visual Basic
Public Class MonitoringEventCriteria
		Inherits QueryCriteria
C#
public class MonitoringEventCriteria : QueryCriteria
C++
public ref class MonitoringEventCriteria : public QueryCriteria
J#
public class MonitoringEventCriteria extends QueryCriteria
JScript
public class MonitoringEventCriteria extends QueryCriteria

Example

Remarks

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

  • Id

  • OriginalId

  • MonitoringObjectId

  • MonitoringClassId

  • MonitoringObjectName

  • MonitoringObjectDisplayName

  • MonitoringObjectPath

  • MonitoringObjectFullName

  • MonitoringRuleId

  • PublisherName

  • Number

  • CategoryId

  • User

  • Channel

  • LevelId

  • LoggingComputer

  • TimeGenerated

  • TimeAdded

  • EventData

  • EventParameters

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


Inheritance Hierarchy

System.Object
   Microsoft.EnterpriseManagement.Common.QueryCriteria
    Microsoft.EnterpriseManagement.Monitoring.MonitoringEventCriteria

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.

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