Gets alerts marked for the monitoring connector where the timestamp is after the specified bookmark. 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 returnValue As ReadOnlyCollection(Of ConnectorMonitoringAlert)

returnValue = instance.GetMonitoringAlerts(utcBookmarkTime)

Syntax

Visual Basic
Public Function GetMonitoringAlerts ( _
		utcBookmarkTime As DateTime _
) As ReadOnlyCollection(Of ConnectorMonitoringAlert)
C#
public ReadOnlyCollection<ConnectorMonitoringAlert> GetMonitoringAlerts (
		DateTime utcBookmarkTime
)
C++
public:
ReadOnlyCollection<ConnectorMonitoringAlert^>^ GetMonitoringAlerts (
		DateTime utcBookmarkTime
)
J#
public ReadOnlyCollection<ConnectorMonitoringAlert> GetMonitoringAlerts (
		DateTime utcBookmarkTime
)
JScript
public function GetMonitoringAlerts (
		utcBookmarkTime : DateTime
) : ReadOnlyCollection<ConnectorMonitoringAlert>

Parameters

utcBookmarkTime

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

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