Share via


MonitoringConnector.GetMonitoringAlertsForTiers Method (IList)

[This topic is pre-release documentation and is subject to change in future releases. Blank topics are included as placeholders.]

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)

Usage

'Usage
Dim instance As MonitoringConnector
Dim failures As IList(Of ConnectorTieredOperationFailure)
Dim returnValue As ReadOnlyCollection(Of ConnectorMonitoringAlert)

returnValue = instance.GetMonitoringAlertsForTiers(failures)

Syntax

'Declaration
Public Function GetMonitoringAlertsForTiers ( _
    <OutAttribute> ByRef failures As IList(Of ConnectorTieredOperationFailure) _
) As ReadOnlyCollection(Of ConnectorMonitoringAlert)
public ReadOnlyCollection<ConnectorMonitoringAlert> GetMonitoringAlertsForTiers (
    out IList<ConnectorTieredOperationFailure> failures
)
public:
ReadOnlyCollection<ConnectorMonitoringAlert^>^ GetMonitoringAlertsForTiers (
    [OutAttribute] IList<ConnectorTieredOperationFailure^>^% failures
)
public ReadOnlyCollection<ConnectorMonitoringAlert> GetMonitoringAlertsForTiers (
    /** @attribute OutAttribute() */ /** @ref */ IList<ConnectorTieredOperationFailure> failures
)

Parameters

  • failures
    The array of failures that may have occurred for various tiers

Return Value

Returns a ReadOnlyCollection of ConnectorMonitoringAlert objects.

Remarks

This method only gets alerts that are marked for the monitoring connector from the bookmark time 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.

Platforms

Development Platforms

Windows Vista, Windows Server 2003, and

Target Platforms

See Also

Reference

MonitoringConnector Class
MonitoringConnector Members
Microsoft.EnterpriseManagement.ConnectorFramework Namespace