次の方法で共有


MonitoringConnector.GetMonitoringAlerts Method

 

Applies To: Operations Manager for System Center 2012

Gets alerts marked for the monitoring connector.

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

Overload List

Name Description
System_CAPS_pubmethod GetMonitoringAlerts()

Gets alerts marked for the monitoring connector.

System_CAPS_pubmethod GetMonitoringAlerts(DateTime)

Gets alerts marked for the monitoring connector where the timestamp is after the specified bookmark.

System_CAPS_pubmethod GetMonitoringAlerts(DateTime, Int32)

Gets alerts marked for the monitoring connector. You also specify a timestamp bookmark, and all alerts with a timestamp after the bookmark will be returned. The retrieved array is limited to the batchSize parameter.

System_CAPS_pubmethod GetMonitoringAlerts(Int32)

Gets alerts marked for the monitoring connector. The retrieved array is limited to the batchSize parameter.

Remarks

To get a MonitoringAlert collection through a MonitoringConnector:

  1. The monitoring connector must be set up.

  2. The monitoring connector must be initialized.

  3. Alerts must be present.

  4. Alerts must be marked for the monitoring connector.

See Also

MonitoringConnector Class
Microsoft.EnterpriseManagement.ConnectorFramework Namespace

Return to top