MonitoringRuleCriteria Class
Applies To: Operations Manager for System Center 2012
Note: This API is now obsolete.
Specifies the criteria for the M:Microsoft.EnterpriseManagement.Configuration.MonitoringClass.GetMonitoringRules(Microsoft.EnterpriseManagement.Configuration.MonitoringRuleCriteria) method, limiting the returned objects to those that meet the criteria.
Namespace: Microsoft.EnterpriseManagement.Configuration
Assembly: Microsoft.EnterpriseManagement.OperationsManager (in Microsoft.EnterpriseManagement.OperationsManager.dll)
Inheritance Hierarchy
System.Object
Microsoft.EnterpriseManagement.Common.QueryCriteria<T>
Microsoft.EnterpriseManagement.Configuration.ManagementPackRuleCriteria
Microsoft.EnterpriseManagement.Configuration.MonitoringRuleCriteria
Syntax
[ObsoleteAttribute("Use ManagementPackRuleCriteria and replace Category in criteria to CategoryOld")]
public class MonitoringRuleCriteria : ManagementPackRuleCriteria
[ObsoleteAttribute("Use ManagementPackRuleCriteria and replace Category in criteria to CategoryOld")]
public ref class MonitoringRuleCriteria : ManagementPackRuleCriteria
[<ObsoleteAttribute("Use ManagementPackRuleCriteria and replace Category in criteria to CategoryOld")>]
type MonitoringRuleCriteria =
class
inherit ManagementPackRuleCriteria
end
<ObsoleteAttribute("Use ManagementPackRuleCriteria and replace Category in criteria to CategoryOld")>
Public Class MonitoringRuleCriteria
Inherits ManagementPackRuleCriteria
Constructors
Name | Description | |
---|---|---|
MonitoringRuleCriteria(String) | Initializes a new MonitoringRuleCriteria object. |
Properties
Name | Description | |
---|---|---|
BackCompatPropertyToNewPropertyMappings | (Overrides ManagementPackRuleCriteria.BackCompatPropertyToNewPropertyMappings.) |
|
Criteria | (Inherited from QueryCriteria<T>.) |
|
CriteriaXml | (Inherited from QueryCriteria<T>.) |
Methods
Name | Description | |
---|---|---|
Equals(Object) | (Inherited from Object.) |
|
Finalize() | (Inherited from Object.) |
|
GenerateDalCriteria(IList<String>, ManagementPackClass, ManagementPack, EnterpriseManagementGroup, IList<String>) | (Inherited from QueryCriteria<T>.) |
|
GetHashCode() | (Inherited from Object.) |
|
GetInvalidCriteriaElements() | (Inherited from QueryCriteria<T>.) |
|
GetType() | (Inherited from Object.) |
|
IsValidPropertyName(String) | (Inherited from QueryCriteria<T>.) |
|
IsValidXmlString() | (Inherited from QueryCriteria<T>.) |
|
MemberwiseClone() | (Inherited from Object.) |
|
ParseCriteria() | (Inherited from QueryCriteria<T>.) |
|
PropertyNameToColumnName(String, String) | (Inherited from QueryCriteria<T>.) |
|
ToString() | (Inherited from QueryCriteria<T>.) |
Remarks
The following property names are valid names that can be used in the criteria expression:
Id
Name
ManagementPackId
TargetMonitoringClassId
Enabled
Category
DisplayName
Description
ConfirmDelivery
TimeAdded
LastModified
Remotable
Priority
DiscardLevel
HasNonCategoryOverride
For information about the criteria expression syntax, see Criteria Expression Syntax
Examples
For example code using the MonitoringRuleCriteria class, see How to Query for Rules
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.Configuration Namespace
Return to top