次の方法で共有


MonitoringAlertCriteria Constructor (String)

 

Applies To: Operations Manager for System Center 2012

Initializes a new MonitoringAlertCriteria object.

Namespace:   Microsoft.EnterpriseManagement.Monitoring
Assembly:  Microsoft.EnterpriseManagement.OperationsManager (in Microsoft.EnterpriseManagement.OperationsManager.dll)

Syntax

public MonitoringAlertCriteria(
    string criteria
)
public:
MonitoringAlertCriteria(
    String^ criteria
)
new : 
        criteria:string -> MonitoringAlertCriteria
Public Sub New (
    criteria As String
)

Parameters

  • criteria
    Type: System.String

    The criteria expression used to filter out monitoring alert results.

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.

See Also

MonitoringAlertCriteria Class
Microsoft.EnterpriseManagement.Monitoring Namespace

Return to top