IConnectorFramework.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
[FaultContractAttribute(typeof(UnauthorizedAccessEnterpriseManagementException))]
[FaultContractAttribute(typeof(InvalidDatabaseDataException))]
[FaultContractAttribute(typeof(ConnectorInvalidException))]
[FaultContractAttribute(typeof(InvalidOperationException))]
[FaultContractAttribute(typeof(UnknownAuthorizationStoreException))]
[FaultContractAttribute(typeof(UnknownChannelException))]
[FaultContractAttribute(typeof(UnknownDatabaseException))]
[OperationContractAttribute]
[FaultContractAttribute(typeof(TimeoutException))]
[FaultContractAttribute(typeof(ServerDisconnectedException))]
[FaultContractAttribute(typeof(ServiceNotRunningException))]
[FaultContractAttribute(typeof(UnknownServiceException))]
MonitoringAlertHistory[] GetMonitoringAlertHistoryByAlertIds(
Guid connectorId,
Guid[] alertIds
)
[FaultContractAttribute((UnauthorizedAccessEnterpriseManagementException^::typeid))]
[FaultContractAttribute((InvalidDatabaseDataException^::typeid))]
[FaultContractAttribute((ConnectorInvalidException^::typeid))]
[FaultContractAttribute((InvalidOperationException^::typeid))]
[FaultContractAttribute((UnknownAuthorizationStoreException^::typeid))]
[FaultContractAttribute((UnknownChannelException^::typeid))]
[FaultContractAttribute((UnknownDatabaseException^::typeid))]
[OperationContractAttribute]
[FaultContractAttribute((TimeoutException^::typeid))]
[FaultContractAttribute((ServerDisconnectedException^::typeid))]
[FaultContractAttribute((ServiceNotRunningException^::typeid))]
[FaultContractAttribute((UnknownServiceException^::typeid))]
array<MonitoringAlertHistory^>^ GetMonitoringAlertHistoryByAlertIds(
Guid connectorId,
array<Guid>^ alertIds
)
[<FaultContractAttribute(typeof(UnauthorizedAccessEnterpriseManagementException))>]
[<FaultContractAttribute(typeof(InvalidDatabaseDataException))>]
[<FaultContractAttribute(typeof(ConnectorInvalidException))>]
[<FaultContractAttribute(typeof(InvalidOperationException))>]
[<FaultContractAttribute(typeof(UnknownAuthorizationStoreException))>]
[<FaultContractAttribute(typeof(UnknownChannelException))>]
[<FaultContractAttribute(typeof(UnknownDatabaseException))>]
[<OperationContractAttribute>]
[<FaultContractAttribute(typeof(TimeoutException))>]
[<FaultContractAttribute(typeof(ServerDisconnectedException))>]
[<FaultContractAttribute(typeof(ServiceNotRunningException))>]
[<FaultContractAttribute(typeof(UnknownServiceException))>]
abstract GetMonitoringAlertHistoryByAlertIds :
connectorId:Guid *
alertIds:Guid[] -> MonitoringAlertHistory[]
<FaultContractAttribute(GetType(UnauthorizedAccessEnterpriseManagementException))>
<FaultContractAttribute(GetType(InvalidDatabaseDataException))>
<FaultContractAttribute(GetType(ConnectorInvalidException))>
<FaultContractAttribute(GetType(InvalidOperationException))>
<FaultContractAttribute(GetType(UnknownAuthorizationStoreException))>
<FaultContractAttribute(GetType(UnknownChannelException))>
<FaultContractAttribute(GetType(UnknownDatabaseException))>
<OperationContractAttribute>
<FaultContractAttribute(GetType(TimeoutException))>
<FaultContractAttribute(GetType(ServerDisconnectedException))>
<FaultContractAttribute(GetType(ServiceNotRunningException))>
<FaultContractAttribute(GetType(UnknownServiceException))>
Function GetMonitoringAlertHistoryByAlertIds (
connectorId As Guid,
alertIds As Guid()
) As MonitoringAlertHistory()
Parameters
connectorId
Type: System.GuidThe globally unique identifier (GUID) for the connector to get alert history for.
alertIds
Type: System.Guid[]The alerts to get history for.
Return Value
Type: Microsoft.EnterpriseManagement.Monitoring.MonitoringAlertHistory[]
Returns an array of MonitoringAlertHistory objects that contain the alert history for the specified connector.
Remarks
Alert history is maintained for each alert. You can specify which alert histories to get by specifying an array of alert identifiers.
See Also
IConnectorFramework Interface
Microsoft.EnterpriseManagement.ConnectorFramework Namespace
Return to top