Compartir a través de


MonitoringConnector.GetMonitoringAlerts Method (DateTime)

 

Applies To: Operations Manager for System Center 2012

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)

Syntax

public ReadOnlyCollection<ConnectorMonitoringAlert> GetMonitoringAlerts(
    DateTime utcBookmarkTime
)
public:
ReadOnlyCollection<ConnectorMonitoringAlert^>^ GetMonitoringAlerts(
    DateTime utcBookmarkTime
)
member GetMonitoringAlerts : 
        utcBookmarkTime:DateTime -> ReadOnlyCollection<ConnectorMonitoringAlert>
Public Function GetMonitoringAlerts (
    utcBookmarkTime As Date
) As ReadOnlyCollection(Of ConnectorMonitoringAlert)

Parameters

  • utcBookmarkTime
    Type: System.DateTime

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

Return Value

Type: System.Collections.ObjectModel.ReadOnlyCollection<ConnectorMonitoringAlert>

Returns a ReadOnlyCollection<T> 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.

See Also

GetMonitoringAlerts Overload
MonitoringConnector Class
Microsoft.EnterpriseManagement.ConnectorFramework Namespace

Return to top