IConnectorFramework.GetMonitoringAlertHistoryByAlertIds(Guid, Guid[]) Method

Definition

Gets alert history for the given connector.

public:
 cli::array <Microsoft::EnterpriseManagement::Monitoring::MonitoringAlertHistory ^> ^ GetMonitoringAlertHistoryByAlertIds(Guid connectorId, cli::array <Guid> ^ alertIds);
[System.ServiceModel.FaultContract(typeof(Microsoft.EnterpriseManagement.Common.UnauthorizedAccessEnterpriseManagementException))]
[System.ServiceModel.FaultContract(typeof(Microsoft.EnterpriseManagement.Common.InvalidDatabaseDataException))]
[System.ServiceModel.FaultContract(typeof(Microsoft.EnterpriseManagement.Common.ConnectorInvalidException))]
[System.ServiceModel.FaultContract(typeof(System.InvalidOperationException))]
[System.ServiceModel.FaultContract(typeof(Microsoft.EnterpriseManagement.Common.UnknownAuthorizationStoreException))]
[System.ServiceModel.FaultContract(typeof(Microsoft.EnterpriseManagement.Common.UnknownChannelException))]
[System.ServiceModel.FaultContract(typeof(Microsoft.EnterpriseManagement.Common.UnknownDatabaseException))]
[System.ServiceModel.FaultContract(typeof(System.TimeoutException))]
[System.ServiceModel.FaultContract(typeof(Microsoft.EnterpriseManagement.Common.ServerDisconnectedException))]
[System.ServiceModel.FaultContract(typeof(Microsoft.EnterpriseManagement.Common.ServiceNotRunningException))]
[System.ServiceModel.FaultContract(typeof(Microsoft.EnterpriseManagement.Common.UnknownServiceException))]
[System.ServiceModel.OperationContract]
public Microsoft.EnterpriseManagement.Monitoring.MonitoringAlertHistory[] GetMonitoringAlertHistoryByAlertIds (Guid connectorId, Guid[] alertIds);
abstract member GetMonitoringAlertHistoryByAlertIds : Guid * Guid[] -> Microsoft.EnterpriseManagement.Monitoring.MonitoringAlertHistory[]
Public Function GetMonitoringAlertHistoryByAlertIds (connectorId As Guid, alertIds As Guid()) As MonitoringAlertHistory()

Parameters

connectorId
Guid

The connector id.

alertIds
Guid[]

The alerts to get history for.

Returns

MonitoringAlertHistory[]

The alert histories requested.

Attributes

Remarks

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

Applies to