Gets alerts marked for the monitoring connector from the current Management Group as well as from any additional tiers that are configured for this connector. The failures that occurred for the configured tiers are returned along with the alerts. Namespace: Microsoft.EnterpriseManagement.ConnectorFramework
Assembly: Microsoft.EnterpriseManagement.OperationsManager (in microsoft.enterprisemanagement.operationsmanager.dll)


Visual Basic
Dim instance As ConnectorFrameworkProxy
Dim connectorId As Guid
Dim failures As ConnectorTieredOperationFailure()
Dim returnValue As ConnectorMonitoringAlert()

returnValue = instance.GetMonitoringAlertsForTiers(connectorId, failures)


Visual Basic
Public Function GetMonitoringAlertsForTiers ( _
		connectorId As Guid, _
		<OutAttribute> ByRef failures As ConnectorTieredOperationFailure() _
) As ConnectorMonitoringAlert()
public ConnectorMonitoringAlert[] GetMonitoringAlertsForTiers (
		Guid connectorId,
		out ConnectorTieredOperationFailure[] failures
array<ConnectorMonitoringAlert^>^ GetMonitoringAlertsForTiers (
		Guid connectorId, 
		[OutAttribute] array<ConnectorTieredOperationFailure^>^% failures
public ConnectorMonitoringAlert[] GetMonitoringAlertsForTiers (
		Guid connectorId, 
		/** @attribute OutAttribute() */ /** @ref */ ConnectorTieredOperationFailure[] failures



The globally unique identifier (GUID) for the monitoring connector to get alerts for.


The array of failures that may have occurred for various tiered monitoring groups.

Return Value

An array of ConnectorMonitoringAlert objects that contain the alerts for the specified monitoring connector.


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 for each configured management tier.

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

Thread Safety

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 Server 2008, Windows Vista, Windows Server 2003, and Windows XP

Target Platforms

Windows Server 2008,Windows Server 2003,Windows Vista,Windows XP

See Also