Share via


MonitoringEventCriteria Constructor (String)

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

Initializes a new MonitoringEventCriteria object.

Namespace: Microsoft.EnterpriseManagement.Monitoring
Assembly: Microsoft.EnterpriseManagement.OperationsManager (in Microsoft.EnterpriseManagement.OperationsManager.dll)

Usage

'Usage
Dim criteria As String

Dim instance As New MonitoringEventCriteria(criteria)

Syntax

'Declaration
Public Sub New ( _
    criteria As String _
)
public MonitoringEventCriteria (
    string criteria
)
public:
MonitoringEventCriteria (
    String^ criteria
)
public MonitoringEventCriteria (
    String criteria
)
public function MonitoringEventCriteria (
    criteria : String
)

Parameters

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.

Platforms

Development Platforms

Windows Vista, Windows Server 2003, and

Target Platforms

See Also

Reference

MonitoringEventCriteria Class
MonitoringEventCriteria Members
Microsoft.EnterpriseManagement.Monitoring Namespace