Compartir a través de


MonitoringConnector.GetMonitoringAlertsForTiers Method (DateTime, IList<ConnectorTieredOperationFailure>)

 

Applies To: Operations Manager for System Center 2012

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)

Syntax

public ReadOnlyCollection<ConnectorMonitoringAlert> GetMonitoringAlertsForTiers(
    DateTime utcBookmarkTime,
    out IList<ConnectorTieredOperationFailure> failures
)
public:
ReadOnlyCollection<ConnectorMonitoringAlert^>^ GetMonitoringAlertsForTiers(
    DateTime utcBookmarkTime,
    [OutAttribute] IList<ConnectorTieredOperationFailure^>^% failures
)
member GetMonitoringAlertsForTiers : 
        utcBookmarkTime:DateTime *
        failures:IList<ConnectorTieredOperationFailure> byref -> ReadOnlyCollection<ConnectorMonitoringAlert>
Public Function GetMonitoringAlertsForTiers (
    utcBookmarkTime As Date,
    <OutAttribute> ByRef failures As IList(Of ConnectorTieredOperationFailure)
) 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

GetMonitoringAlertsForTiers Overload
MonitoringConnector Class
Microsoft.EnterpriseManagement.ConnectorFramework Namespace

Return to top