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)

Usage

Visual Basic
Dim instance As ConnectorFrameworkProxy
Dim connectorId As Guid
Dim alertIds As Guid()
Dim returnValue As MonitoringAlertHistory()

returnValue = instance.GetMonitoringAlertHistoryByAlertIds(connectorId, alertIds)

Syntax

Visual Basic
Public Function GetMonitoringAlertHistoryByAlertIds ( _
		connectorId As Guid, _
		alertIds As Guid() _
) As MonitoringAlertHistory()
C#
public MonitoringAlertHistory[] GetMonitoringAlertHistoryByAlertIds (
		Guid connectorId,
		Guid[] alertIds
)
C++
public:
array<MonitoringAlertHistory^>^ GetMonitoringAlertHistoryByAlertIds (
		Guid connectorId, 
		array<Guid>^ alertIds
)
J#
public MonitoringAlertHistory[] GetMonitoringAlertHistoryByAlertIds (
		Guid connectorId, 
		Guid[] alertIds
)
JScript
public function GetMonitoringAlertHistoryByAlertIds (
		connectorId : Guid, 
		alertIds : Guid[]
) : MonitoringAlertHistory[]

Parameters

connectorId

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

alertIds

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

Return Value

An array of MonitoringAlertHistory 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.


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 Server 2008, Windows Vista, Windows Server 2003, and Windows XP

Target Platforms

Windows Server 2008,Windows Server 2003,Windows Vista,Windows XP

See Also