Compartilhar via


ConnectorFrameworkProxy.GetMonitoringAlertsForTiers Method (Guid, ConnectorTieredOperationFailure[])

 

Applies To: Operations Manager for System Center 2012

Gets alerts marked for the monitoring connector 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 ConnectorMonitoringAlert[] GetMonitoringAlertsForTiers(
    Guid connectorId,
    out ConnectorTieredOperationFailure[] failures
)
public:
array<ConnectorMonitoringAlert^>^ GetMonitoringAlertsForTiers(
    Guid connectorId,
    [OutAttribute] array<ConnectorTieredOperationFailure^>^% failures
)
member GetMonitoringAlertsForTiers : 
        connectorId:Guid *
        failures:ConnectorTieredOperationFailure[] byref -> ConnectorMonitoringAlert[]
Public Function GetMonitoringAlertsForTiers (
    connectorId As Guid,
    <OutAttribute> ByRef failures As ConnectorTieredOperationFailure()
) As ConnectorMonitoringAlert()

Parameters

  • connectorId
    Type: System.Guid

    The globally unique identifier (GUID) for the monitoring connector to get alerts for.

Return Value

Type: Microsoft.EnterpriseManagement.ConnectorFramework.ConnectorMonitoringAlert[]

Returns an Array ConnectorMonitoringAlert of objects that contain the alerts for the specified monitoring connector.

Remarks

To get a ConnectorMonitoringAlert array collection through a MonitoringConnector:

  • The monitoring connector must be set up.

  • The monitoring connector must be initialized.

  • Alerts must be present.

  • Alerts must be marked for the monitoring connector.

This method gets all alerts assigned to a specific monitoring connector for each configured management tier.

This method gets alerts only from the bookmark date to the current time less 30 seconds.

See Also

ConnectorFrameworkProxy Class
Microsoft.EnterpriseManagement.ConnectorFramework Namespace

Return to top