Partager via


ConnectorFrameworkProxy.GetMonitoringAlertHistoryByAlertIds Method (Guid, Guid[])

 

Applies To: Operations Manager for System Center 2012

Gets the alert history for the specified monitoring connector and the specified alerts.

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

Syntax

public MonitoringAlertHistory[] GetMonitoringAlertHistoryByAlertIds(
    Guid connectorId,
    Guid[] alertIds
)
public:
array<MonitoringAlertHistory^>^ GetMonitoringAlertHistoryByAlertIds(
    Guid connectorId,
    array<Guid>^ alertIds
)
member GetMonitoringAlertHistoryByAlertIds : 
        connectorId:Guid *
        alertIds:Guid[] -> MonitoringAlertHistory[]
Public Function GetMonitoringAlertHistoryByAlertIds (
    connectorId As Guid,
    alertIds As Guid()
) As MonitoringAlertHistory()

Parameters

  • connectorId
    Type: System.Guid

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

  • alertIds
    Type: System.Guid[]

    An array of GUIDS, used to identify the alerts to get history for.

Return Value

Type: Microsoft.EnterpriseManagement.Monitoring.MonitoringAlertHistory[]

Returns an Array MonitoringAlertHistory of objects that contain the alert history for the specified monitoring connector.

Remarks

Alert history is maintained for each alert. You can specify which alert histories to get by providing an array of alert identifiers.

See Also

ConnectorFrameworkProxy Class
Microsoft.EnterpriseManagement.ConnectorFramework Namespace

Return to top