Udostępnij za pośrednictwem


MonitoringAlertCriteria Class

 

Applies To: Operations Manager for System Center 2012

Specifies the criteria for the M:Microsoft.EnterpriseManagement.Monitoring.PartialMonitoringObject.GetMonitoringAlertReader(Microsoft.EnterpriseManagement.Monitoring.MonitoringAlertCriteria) method and the GetMonitoringAlerts 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.MonitoringAlertCriteria

Syntax

public class MonitoringAlertCriteria : QueryCriteria<MonitoringAlertCriteria>
public ref class MonitoringAlertCriteria : QueryCriteria<MonitoringAlertCriteria^>
type MonitoringAlertCriteria = 
    class
        inherit QueryCriteria<MonitoringAlertCriteria>
    end
Public Class MonitoringAlertCriteria
    Inherits QueryCriteria(Of MonitoringAlertCriteria)

Constructors

Name Description
System_CAPS_pubmethod MonitoringAlertCriteria(String)

Initializes a new MonitoringAlertCriteria object.

Properties

Name Description
System_CAPS_protproperty BackCompatPropertyToNewPropertyMappings

(Overrides QueryCriteria<T>.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_pubmethodSystem_CAPS_static GetValidPropertyNames()

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

  • Id

  • Name

  • Description

  • MonitoringObjectId

  • MonitoringClassId

  • MonitoringObjectName

  • MonitoringObjectDisplayName

  • MonitoringObjectPath

  • MonitoringObjectFullName

  • IsMonitorAlert

  • ProblemId

  • MonitoringRuleId

  • ResolutionState

  • Priority

  • Severity

  • Category

  • Owner

  • ResolvedBy

  • TimeRaised

  • TimeAdded

  • LastModified

  • LastModifiedBy

  • TimeResolved

  • TimeResolutionStateLastModified

  • CustomField1

  • CustomField2

  • CustomField3

  • CustomField4

  • CustomField5

  • CustomField6

  • CustomField7

  • CustomField8

  • CustomField9

  • CustomField10

  • TicketId

  • Context

  • ConnectorId

  • LastModifiedByNonConnector

  • MonitoringObjectInMaintenanceMode

  • MonitoringObjectHealthState

  • ConnectorStatus

  • NetbiosComputerName

  • NetbiosDomainName

  • PrincipalName

  • AlertParams

  • SiteName

  • MaintenanceModeLastModified

  • StateLastModified

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

Examples

For an example of the MonitoringAlertCriteria method, 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