Applies To: Operations Manager for System Center 2012
Used to specify the criteria for the M:Microsoft.EnterpriseManagement.Monitoring.PartialMonitoringObject.GetMonitoringEvents(Microsoft.EnterpriseManagement.Monitoring.MonitoringEventCriteria) method and the GetMonitoringEventReader method, limiting the returned objects to those that meet the criteria.
Namespace:   Microsoft.EnterpriseManagement.Monitoring
Assembly:  Microsoft.EnterpriseManagement.OperationsManager (in Microsoft.EnterpriseManagement.OperationsManager.dll)
Inheritance Hierarchy
System.Object
  Microsoft.EnterpriseManagement.Common.QueryCriteria<T>
    Microsoft.EnterpriseManagement.Monitoring.MonitoringEventCriteria
Syntax
public class MonitoringEventCriteria : QueryCriteria<MonitoringEventCriteria>
public ref class MonitoringEventCriteria : QueryCriteria<MonitoringEventCriteria^>
type MonitoringEventCriteria = 
    class
        inherit QueryCriteria<MonitoringEventCriteria>
    end
Public Class MonitoringEventCriteria
    Inherits QueryCriteria(Of MonitoringEventCriteria)
Constructors
| Name | Description | |
|---|---|---|
| .jpeg) | MonitoringEventCriteria(String) | Initializes a new MonitoringEventCriteria object. | 
Properties
| Name | Description | |
|---|---|---|
| .jpeg) | BackCompatPropertyToNewPropertyMappings | (Overrides QueryCriteria<T>.BackCompatPropertyToNewPropertyMappings.) | 
| .jpeg) | Criteria | (Inherited from QueryCriteria<T>.) | 
| .jpeg) | CriteriaXml | (Inherited from QueryCriteria<T>.) | 
Methods
| Name | Description | |
|---|---|---|
| .jpeg) | Equals(Object) | (Inherited from Object.) | 
| .jpeg) | Finalize() | (Inherited from Object.) | 
| .jpeg) | GenerateDalCriteria(IList<String>, ManagementPackClass, ManagementPack, EnterpriseManagementGroup, IList<String>) | (Inherited from QueryCriteria<T>.) | 
| .jpeg) | GetHashCode() | (Inherited from Object.) | 
| .jpeg) | GetInvalidCriteriaElements() | (Inherited from QueryCriteria<T>.) | 
| .jpeg) | GetType() | (Inherited from Object.) | 
| .jpeg) .jpeg) | GetValidPropertyNames() | Gets a collection of the valid property names that can be used in the criteria expression. | 
| .jpeg) | IsValidPropertyName(String) | (Inherited from QueryCriteria<T>.) | 
| .jpeg) | IsValidXmlString() | (Inherited from QueryCriteria<T>.) | 
| .jpeg) | MemberwiseClone() | (Inherited from Object.) | 
| .jpeg) | ParseCriteria() | (Inherited from QueryCriteria<T>.) | 
| .jpeg) | PropertyNameToColumnName(String, String) | (Inherited from QueryCriteria<T>.) | 
| .jpeg) | ToString() | (Inherited from QueryCriteria<T>.) | 
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.
Thread Safety
Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.
See Also
Microsoft.EnterpriseManagement.Monitoring Namespace
Return to top