次の方法で共有


MonitoringObjectGenericCriteria Class

 

Applies To: Operations Manager for System Center 2012

Specifies the criteria for the GetMonitoringObjects, GetPartialMonitoringObjects, M:Microsoft.EnterpriseManagement.Monitoring.PartialMonitoringObject.GetRelatedMonitoringObjects(Microsoft.EnterpriseManagement.Monitoring.MonitoringObjectGenericCriteria) and M:Microsoft.EnterpriseManagement.Monitoring.PartialMonitoringObject.GetRelatedPartialMonitoringObjects(Microsoft.EnterpriseManagement.Monitoring.MonitoringObjectGenericCriteria) methods, 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.EnterpriseManagementObjectGenericCriteria
      Microsoft.EnterpriseManagement.Monitoring.MonitoringObjectGenericCriteria

Syntax

public class MonitoringObjectGenericCriteria : EnterpriseManagementObjectGenericCriteria
public ref class MonitoringObjectGenericCriteria : EnterpriseManagementObjectGenericCriteria
type MonitoringObjectGenericCriteria = 
    class
        inherit EnterpriseManagementObjectGenericCriteria
    end
Public Class MonitoringObjectGenericCriteria
    Inherits EnterpriseManagementObjectGenericCriteria

Constructors

Name Description
System_CAPS_pubmethod MonitoringObjectGenericCriteria(String)

Initializes a new MonitoringObjectGenericCriteria object.

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>.)

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 EnterpriseManagementObjectGenericCriteria.)

System_CAPS_pubmethod GetType()

(Inherited from Object.)

System_CAPS_pubmethodSystem_CAPS_static GetValidPropertyNames()

Retrieves a collection of the valid property names that can be used in the criteria expression.

System_CAPS_pubmethod IsValidPropertyName(String)

(Inherited from QueryCriteria<T>.)

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 QueryCriteria<T>.)

System_CAPS_pubmethod ToString()

(Inherited from QueryCriteria<T>.)

Remarks

The following are valid property names that you can use in the criteria expression, whether for a regular or partial monitoring object:

  • Id

  • Name

  • Path

  • FullName

  • DisplayName

  • IsManaged

  • LastModified

  • HealthState

  • StateLastModified

  • IsAvailable

  • AvailabilityLastModified

  • InMaintenanceMode

  • MaintenanceModeLastModified

For information about the criteria expression syntax, see Criteria Expression Syntax.

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