Share via


AlertQuery Methods

The methods of the AlertQuery class are listed here.

For a list of all members of this type, see AlertQuery members.

Methods

Name Description

GetAlertResolutionStateUsingNumericValue

Retrieves a AlertResolutionState object that matches the specified numerical state value.

GetAlerts

Retrieves the specified alerts.

GetAlertsByResolutionStateId

Retrieves alerts by resolution state ID.

GetAlertsByResolutionStateIdAndComputer

Retrieves alerts that have the specified resolution state and computer association.

GetAlertsByResolutionStateIdAndComputerCount

Counts the number of alerts that have the specified resolution state and computer association.

GetAlertsByResolutionStateIdCount

Counts the number of alerts with the specified resolution state.

GetAlertsByRuleId

Retrieves alerts associated with the specified rule.

GetAlertsByRuleIdCount

Counts the number of alerts associated with the specified rule.

GetAlertsCount

Counts the number of alerts.

GetAllAlertResolutionStates

Retrieves all resolution states defined in the MOM operations database.

GetServiceLevelExceptionAlerts

Retrieves service level alerts that match the AlertQueryExpression, with the specified maximum count, index, sorting properties, and computer group association.

Requirements

Platforms: Requires Windows 2000 Server or later

Version: Requires MOM 2005 or later

Namespace: Microsoft.EnterpriseManagement.Mom

Assembly: Microsoft.Mom.Sdk (in Microsoft.Mom.Sdk.dll)