Partager via


MonitoringRecoveryCriteria 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.GetMonitoringRecoveries(Microsoft.EnterpriseManagement.Configuration.MonitoringRecoveryCriteria) 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.ManagementPackRecoveryCriteria
      Microsoft.EnterpriseManagement.Configuration.MonitoringRecoveryCriteria

Syntax

[ObsoleteAttribute("Use ManagementPackRecoveryCriteria and replace Category in criteria to CategoryOld")]
public class MonitoringRecoveryCriteria : ManagementPackRecoveryCriteria
[ObsoleteAttribute("Use ManagementPackRecoveryCriteria and replace Category in criteria to CategoryOld")]
public ref class MonitoringRecoveryCriteria : ManagementPackRecoveryCriteria
[<ObsoleteAttribute("Use ManagementPackRecoveryCriteria and replace Category in criteria to CategoryOld")>]
type MonitoringRecoveryCriteria = 
    class
        inherit ManagementPackRecoveryCriteria
    end
<ObsoleteAttribute("Use ManagementPackRecoveryCriteria and replace Category in criteria to CategoryOld")>
Public Class MonitoringRecoveryCriteria
    Inherits ManagementPackRecoveryCriteria

Constructors

Name Description
System_CAPS_pubmethod MonitoringRecoveryCriteria(String)

Initializes a new MonitoringRecoveryCriteria object.

Properties

Name Description
System_CAPS_protproperty BackCompatPropertyToNewPropertyMappings

(Overrides ManagementPackRecoveryCriteria.BackCompatPropertyToNewPropertyMappings.)

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

System_CAPS_pubmethod GetType()

(Inherited from Object.)

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 property names are valid names that can be used in the criteria expression:

  • Id

  • Name

  • Accessibility

  • ManagementPackId

  • Enabled

  • TargetMonitoringClassId

  • MonitorId

  • ResetMonitor

  • ExecuteOnState

  • MonitoringDiagnosticId

  • Remotable

  • Category

  • Timeout

  • TimeAdded

  • LastModified

  • DisplayName

  • Description

  • HasNonCategoryOverride

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

Examples

For example code using the MonitoringRecoveryCriteria class, see How to Query for Recoveries.

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