Share via


MonitoringConnector.GetMonitoringAlerts Method (DateTime)

[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 where the timestamp is after the specified bookmark.

Namespace: Microsoft.EnterpriseManagement.ConnectorFramework
Assembly: Microsoft.EnterpriseManagement.OperationsManager (in Microsoft.EnterpriseManagement.OperationsManager.dll)

Usage

'Usage
Dim instance As MonitoringConnector
Dim utcBookmarkTime As DateTime
Dim returnValue As ReadOnlyCollection(Of ConnectorMonitoringAlert)

returnValue = instance.GetMonitoringAlerts(utcBookmarkTime)

Syntax

'Declaration
Public Function GetMonitoringAlerts ( _
    utcBookmarkTime As DateTime _
) As ReadOnlyCollection(Of ConnectorMonitoringAlert)
public ReadOnlyCollection<ConnectorMonitoringAlert> GetMonitoringAlerts (
    DateTime utcBookmarkTime
)
public:
ReadOnlyCollection<ConnectorMonitoringAlert^>^ GetMonitoringAlerts (
    DateTime utcBookmarkTime
)
public ReadOnlyCollection<ConnectorMonitoringAlert> GetMonitoringAlerts (
    DateTime utcBookmarkTime
)
public function GetMonitoringAlerts (
    utcBookmarkTime : DateTime
) : ReadOnlyCollection<ConnectorMonitoringAlert>

Parameters

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

Return Value

Returns a ReadOnlyCollection 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 Vista, Windows Server 2003, and

Target Platforms

See Also

Reference

MonitoringConnector Class
MonitoringConnector Members
Microsoft.EnterpriseManagement.ConnectorFramework Namespace