Gets alerts marked for the monitoring connector where the timestamp is after the specified bookmark. The alerts are 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

Visual Basic
Dim instance As MonitoringConnector
Dim utcBookmarkTime As DateTime
Dim failures As IList(Of ConnectorTieredOperationFailure)
Dim returnValue As ReadOnlyCollection(Of ConnectorMonitoringAlert)

returnValue = instance.GetMonitoringAlertsForTiers(utcBookmarkTime, failures)

Syntax

Visual Basic
Public Function GetMonitoringAlertsForTiers ( _
		utcBookmarkTime As DateTime, _
		<OutAttribute> ByRef failures As IList(Of ConnectorTieredOperationFailure) _
) As ReadOnlyCollection(Of ConnectorMonitoringAlert)
C#
public ReadOnlyCollection<ConnectorMonitoringAlert> GetMonitoringAlertsForTiers (
		DateTime utcBookmarkTime,
		out IList<ConnectorTieredOperationFailure> failures
)
C++
public:
ReadOnlyCollection<ConnectorMonitoringAlert^>^ GetMonitoringAlertsForTiers (
		DateTime utcBookmarkTime, 
		[OutAttribute] IList<ConnectorTieredOperationFailure^>^% failures
)
J#
public ReadOnlyCollection<ConnectorMonitoringAlert> GetMonitoringAlertsForTiers (
		DateTime utcBookmarkTime, 
		/** @attribute OutAttribute() */ /** @ref */ IList<ConnectorTieredOperationFailure> failures
)
JScript

Parameters

utcBookmarkTime

The date and time value to which the bookmark is initially set.

failures

The array of failures that may have occurred for various tiers

Return Value

A collection of ConnectorMonitoringAlert objects.

Remarks

This method only gets alerts that are marked for the monitoring connector from the utcBookmarkTime 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 Server 2008, Windows Vista, Windows Server 2003, and Windows XP

Target Platforms

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

See Also