Share via


MonitoringAlertCriteria(String) Constructor

Definition

Constructor.

public:
 MonitoringAlertCriteria(System::String ^ criteria);
public MonitoringAlertCriteria (string criteria);
new Microsoft.EnterpriseManagement.Monitoring.MonitoringAlertCriteria : string -> Microsoft.EnterpriseManagement.Monitoring.MonitoringAlertCriteria
Public Sub New (criteria As String)

Parameters

criteria
String

Criteria string.

Exceptions

criteria is null.

Invalid property in criteria.

Syntax error in criteria.

Examples

For an example of the MonitoringAlertCriteria method, see How to Display Operations Manager Data.

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

Applies to