Share via


MonitoringEventCriteria(String) Constructor

Definition

Constructor.

public:
 MonitoringEventCriteria(System::String ^ criteria);
public MonitoringEventCriteria (string criteria);
new Microsoft.EnterpriseManagement.Monitoring.MonitoringEventCriteria : string -> Microsoft.EnterpriseManagement.Monitoring.MonitoringEventCriteria
Public Sub New (criteria As String)

Parameters

criteria
String

Criteria string.

Exceptions

criteria is null.

Invalid property in criteria.

Syntax error in criteria.

Examples

For an example of the MonitoringEventCriteria constructor, see How to Display Operations Manager 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.

Applies to