MonitoringEventCriteria(String) Constructor
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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.