Partager via


MonitoringConnector.AcknowledgeMonitoringAlertsForTiers Method (ICollection, IList)

[This topic is pre-release documentation and is subject to change in future releases. Blank topics are included as placeholders.]

The monitoring connector acknowledges that it has successfully received monitoring alerts from a collection of alerts, from all tiers. The failures that occurred for the configured tiers are returned.

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

Usage

'Usage
Dim instance As MonitoringConnector
Dim alerts As ICollection(Of ConnectorMonitoringAlert)
Dim failures As IList(Of ConnectorTieredOperationFailure)

instance.AcknowledgeMonitoringAlertsForTiers(alerts, failures)

Syntax

'Declaration
Public Sub AcknowledgeMonitoringAlertsForTiers ( _
    alerts As ICollection(Of ConnectorMonitoringAlert), _
    <OutAttribute> ByRef failures As IList(Of ConnectorTieredOperationFailure) _
)
public void AcknowledgeMonitoringAlertsForTiers (
    ICollection<ConnectorMonitoringAlert> alerts,
    out IList<ConnectorTieredOperationFailure> failures
)
public:
void AcknowledgeMonitoringAlertsForTiers (
    ICollection<ConnectorMonitoringAlert^>^ alerts, 
    [OutAttribute] IList<ConnectorTieredOperationFailure^>^% failures
)
public void AcknowledgeMonitoringAlertsForTiers (
    ICollection<ConnectorMonitoringAlert> alerts, 
    /** @attribute OutAttribute() */ /** @ref */ IList<ConnectorTieredOperationFailure> failures
)

Parameters

  • alerts
    A collection of ConnectorMonitoringAlert objects. All the alerts prior to the alert with the maximum timestamp are acknowledged.
  • failures
    The array of failures that may have occurred for various tiers

Remarks

The monitoring connector must acknowledge that alerts have been received. Failure to acknowledge an alert will result in subsequent calls to MonitoringConnector returning previously returned alerts until its successful transmission is acknowledged by the monitoring connector.

After acknowledging alerts, you get alerts that are updated after the bookmark time that you acknowledged with.

This method acknowledges all of the alerts by acknowledging the maximum timestamp among them.

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