MonitoringEventCriteria Constructor (String)

Updated: April 16, 2012

Initializes a new MonitoringEventCriteria object. Namespace: Microsoft.EnterpriseManagement.Monitoring
Assembly: Microsoft.EnterpriseManagement.OperationsManager (in Microsoft.EnterpriseManagement.OperationsManager.dll)Dim criteria As String Dim instance As New MonitoringEventCriteria(criteria)Public Sub New ( _ criteria As String _ )public MonitoringEventCriteria ( string criteria )public: MonitoringEventCriteria ( String^ criteria )public MonitoringEventCriteria ( String criteria )public function MonitoringEventCriteria ( criteria : String )ParameterscriteriaThe criteria expression used to filter out monitoring event results returned by the GetMonitoringEvents method and the GetMonitoringEventReader method.

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

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.

Development Platforms

Windows Vista, Windows Server 2003, and

Target Platforms