ConnectorFrameworkProxy.GetMonitoringAlerts Method

Updated: April 16, 2012

Gets alerts marked for the monitoring connector. Namespace: Microsoft.EnterpriseManagement.ConnectorFramework
Assembly: Microsoft.EnterpriseManagement.OperationsManager (in Microsoft.EnterpriseManagement.OperationsManager.dll)Dim instance As ConnectorFrameworkProxy Dim connectorId As Guid Dim returnValue As ConnectorMonitoringAlert() returnValue = instance.GetMonitoringAlerts(connectorId)Public Function GetMonitoringAlerts ( _ connectorId As Guid _ ) As ConnectorMonitoringAlert()public ConnectorMonitoringAlert[] GetMonitoringAlerts ( Guid connectorId )public: array<ConnectorMonitoringAlert^>^ GetMonitoringAlerts ( Guid connectorId )public ConnectorMonitoringAlert[] GetMonitoringAlerts ( Guid connectorId )public function GetMonitoringAlerts ( connectorId : Guid ) : ConnectorMonitoringAlert[]ParametersconnectorIdThe globally unique identifier (GUID) for the monitoring connector to get alerts for.Return ValueReturns an Array ConnectorMonitoringAlert of objects that contain the alerts for the specified monitoring connector.

See GetMonitoringAlertHistoryByAlertIds for an example of the GetMonitoringAlerts method.

To get a ConnectorMonitoringAlert array collection through a MonitoringConnector:

  • The monitoring connector must be set up.

  • The monitoring connector must be initialized.

  • Alerts must be present.

  • Alerts must be marked for the monitoring connector.

This method gets all alerts assigned to a specific monitoring connector.

This method gets alerts only from the current bookmark date to the current time less 30 seconds.

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Development Platforms

Windows Vista, Windows Server 2003, and

Target Platforms