Compartilhar via


MonitoringObjectCriteria Class

 

Applies To: Operations Manager for System Center 2012

Specifies the criteria for the GetMonitoringObjects method and the M:Microsoft.EnterpriseManagement.Monitoring.PartialMonitoringObject.GetRelatedMonitoringObjects(Microsoft.EnterpriseManagement.Monitoring.MonitoringObjectCriteria) 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.Common.EnterpriseManagementObjectCriteria
      Microsoft.EnterpriseManagement.Monitoring.MonitoringObjectCriteria

Syntax

public class MonitoringObjectCriteria : EnterpriseManagementObjectCriteria
public ref class MonitoringObjectCriteria : EnterpriseManagementObjectCriteria
type MonitoringObjectCriteria = 
    class
        inherit EnterpriseManagementObjectCriteria
    end
Public Class MonitoringObjectCriteria
    Inherits EnterpriseManagementObjectCriteria

Constructors

Name Description
System_CAPS_pubmethod MonitoringObjectCriteria(String, ManagementPackClass)

Initializes a new MonitoringObjectCriteria object.

System_CAPS_pubmethod MonitoringObjectCriteria(String, ManagementPackClass, EnterpriseManagementGroup)

System_CAPS_pubmethod MonitoringObjectCriteria(String, ManagementPackClass, ManagementPack, EnterpriseManagementGroup)

Properties

Name Description
System_CAPS_protproperty BackCompatPropertyToNewPropertyMappings

(Inherited from QueryCriteria<T>.)

System_CAPS_pubproperty Criteria

(Inherited from QueryCriteria<T>.)

System_CAPS_pubproperty CriteriaXml

(Inherited from QueryCriteria<T>.)

System_CAPS_pubpropertySystem_CAPS_static Empty

System_CAPS_pubproperty ManagementPackClass

(Inherited from EnterpriseManagementObjectCriteria.)

System_CAPS_pubproperty MonitoringClass

Obsolete.Gets the MonitoringClass object that this criteria corresponds to.

Methods

Name Description
System_CAPS_pubmethod Equals(Object)

(Inherited from Object.)

System_CAPS_protmethod Finalize()

(Inherited from Object.)

System_CAPS_protmethod GenerateDalCriteria(IList<String>, ManagementPackClass, ManagementPack, EnterpriseManagementGroup, IList<String>)

(Inherited from QueryCriteria<T>.)

System_CAPS_pubmethod GetHashCode()

(Inherited from Object.)

System_CAPS_protmethod GetInvalidCriteriaElements()

(Inherited from EnterpriseManagementObjectCriteria.)

System_CAPS_pubmethod GetNonUniquePropertyNames()

(Inherited from EnterpriseManagementObjectCriteria.)

System_CAPS_pubmethodSystem_CAPS_static GetSpecialPropertyNames()

System_CAPS_pubmethod GetType()

(Inherited from Object.)

System_CAPS_pubmethod GetValidPropertyNames()

(Inherited from EnterpriseManagementObjectCriteria.)

System_CAPS_pubmethod IsValidPropertyName(String)

(Inherited from EnterpriseManagementObjectCriteria.)

System_CAPS_protmethod IsValidXmlString()

(Inherited from QueryCriteria<T>.)

System_CAPS_protmethod MemberwiseClone()

(Inherited from Object.)

System_CAPS_protmethod ParseCriteria()

(Inherited from QueryCriteria<T>.)

System_CAPS_protmethod PropertyNameToColumnName(String, String)

(Inherited from EnterpriseManagementObjectCriteria.)

System_CAPS_pubmethod ToString()

(Inherited from QueryCriteria<T>.)

Remarks

You can get a list of the property names that can be used in the criteria expression by using the M:Microsoft.EnterpriseManagement.Monitoring.MonitoringObjectCriteria.GetValidPropertyNames method. For information about the criteria expression syntax, see Criteria Expression Syntax.

Examples

The following example demonstrates an instance of the MonitoringObjectCriteria class.

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