MonitoringEventCriteria Constructor (String)

 

Applies To: Operations Manager for System Center 2012

Initializes a new MonitoringEventCriteria object.

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

Syntax

public MonitoringEventCriteria(
    string criteria
)
public:
MonitoringEventCriteria(
    String^ criteria
)
new : 
        criteria:string -> MonitoringEventCriteria
Public Sub New (
    criteria As String
)

Parameters

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.

Examples

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

See Also

MonitoringEventCriteria Class
Microsoft.EnterpriseManagement.Monitoring Namespace

Return to top