Share via


MonitoringEventCriteria Class

[This topic is pre-release documentation and is subject to change in future releases. Blank topics are included as placeholders.]

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

'Usage
Dim instance As MonitoringEventCriteria

Syntax

'Declaration
Public Class MonitoringEventCriteria
    Inherits QueryCriteria(Of MonitoringEventCriteria)
public class MonitoringEventCriteria : QueryCriteria<MonitoringEventCriteria>
public ref class MonitoringEventCriteria : public QueryCriteria<MonitoringEventCriteria^>
public class MonitoringEventCriteria extends QueryCriteria<MonitoringEventCriteria>
public class MonitoringEventCriteria extends QueryCriteria<MonitoringEventCriteria>

Example

For an example of the MonitoringEventCriteria constructor, see How to Display Operations Manager Operations Data.

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 Vista, Windows Server 2003, and

Target Platforms

See Also

Reference

MonitoringEventCriteria Members
Microsoft.EnterpriseManagement.Monitoring Namespace