IConnectorFramework.UpdateMonitoringAlerts Method (Guid, String, ConnectorMonitoringAlert[])
Applies To: Operations Manager for System Center 2012
Updates the specified alerts.
Namespace: Microsoft.EnterpriseManagement.ConnectorFramework
Assembly: Microsoft.EnterpriseManagement.OperationsManager (in Microsoft.EnterpriseManagement.OperationsManager.dll)
Syntax
[FaultContractAttribute(typeof(ArgumentOutOfRangeException))]
[FaultContractAttribute(typeof(ConnectorInvalidException))]
[FaultContractAttribute(typeof(InvalidDatabaseDataException))]
[FaultContractAttribute(typeof(ArgumentNullException))]
[OperationContractAttribute]
[FaultContractAttribute(typeof(TimeoutException))]
[FaultContractAttribute(typeof(ServerDisconnectedException))]
[FaultContractAttribute(typeof(ServiceNotRunningException))]
[FaultContractAttribute(typeof(UnknownServiceException))]
[FaultContractAttribute(typeof(UnknownChannelException))]
[FaultContractAttribute(typeof(UnauthorizedAccessEnterpriseManagementException))]
[FaultContractAttribute(typeof(UnknownAuthorizationStoreException))]
[FaultContractAttribute(typeof(UnknownDatabaseException))]
ConnectorMonitoringAlertUpdateFailure[] UpdateMonitoringAlerts(
Guid connectorId,
string comments,
ConnectorMonitoringAlert[] alertsToUpdate
)
[FaultContractAttribute((ArgumentOutOfRangeException^::typeid))]
[FaultContractAttribute((ConnectorInvalidException^::typeid))]
[FaultContractAttribute((InvalidDatabaseDataException^::typeid))]
[FaultContractAttribute((ArgumentNullException^::typeid))]
[OperationContractAttribute]
[FaultContractAttribute((TimeoutException^::typeid))]
[FaultContractAttribute((ServerDisconnectedException^::typeid))]
[FaultContractAttribute((ServiceNotRunningException^::typeid))]
[FaultContractAttribute((UnknownServiceException^::typeid))]
[FaultContractAttribute((UnknownChannelException^::typeid))]
[FaultContractAttribute((UnauthorizedAccessEnterpriseManagementException^::typeid))]
[FaultContractAttribute((UnknownAuthorizationStoreException^::typeid))]
[FaultContractAttribute((UnknownDatabaseException^::typeid))]
array<ConnectorMonitoringAlertUpdateFailure^>^ UpdateMonitoringAlerts(
Guid connectorId,
String^ comments,
array<ConnectorMonitoringAlert^>^ alertsToUpdate
)
[<FaultContractAttribute(typeof(ArgumentOutOfRangeException))>]
[<FaultContractAttribute(typeof(ConnectorInvalidException))>]
[<FaultContractAttribute(typeof(InvalidDatabaseDataException))>]
[<FaultContractAttribute(typeof(ArgumentNullException))>]
[<OperationContractAttribute>]
[<FaultContractAttribute(typeof(TimeoutException))>]
[<FaultContractAttribute(typeof(ServerDisconnectedException))>]
[<FaultContractAttribute(typeof(ServiceNotRunningException))>]
[<FaultContractAttribute(typeof(UnknownServiceException))>]
[<FaultContractAttribute(typeof(UnknownChannelException))>]
[<FaultContractAttribute(typeof(UnauthorizedAccessEnterpriseManagementException))>]
[<FaultContractAttribute(typeof(UnknownAuthorizationStoreException))>]
[<FaultContractAttribute(typeof(UnknownDatabaseException))>]
abstract UpdateMonitoringAlerts :
connectorId:Guid *
comments:string *
alertsToUpdate:ConnectorMonitoringAlert[] -> ConnectorMonitoringAlertUpdateFailure[]
<FaultContractAttribute(GetType(ArgumentOutOfRangeException))>
<FaultContractAttribute(GetType(ConnectorInvalidException))>
<FaultContractAttribute(GetType(InvalidDatabaseDataException))>
<FaultContractAttribute(GetType(ArgumentNullException))>
<OperationContractAttribute>
<FaultContractAttribute(GetType(TimeoutException))>
<FaultContractAttribute(GetType(ServerDisconnectedException))>
<FaultContractAttribute(GetType(ServiceNotRunningException))>
<FaultContractAttribute(GetType(UnknownServiceException))>
<FaultContractAttribute(GetType(UnknownChannelException))>
<FaultContractAttribute(GetType(UnauthorizedAccessEnterpriseManagementException))>
<FaultContractAttribute(GetType(UnknownAuthorizationStoreException))>
<FaultContractAttribute(GetType(UnknownDatabaseException))>
Function UpdateMonitoringAlerts (
connectorId As Guid,
comments As String,
alertsToUpdate As ConnectorMonitoringAlert()
) As ConnectorMonitoringAlertUpdateFailure()
Parameters
connectorId
Type: System.GuidThe globally unique identifier (GUID) for the monitoring connector to update alerts for.
comments
Type: System.StringComments to apply to the update.
alertsToUpdate
Type: Microsoft.EnterpriseManagement.ConnectorFramework.ConnectorMonitoringAlert[]An array of ConnectorMonitoringAlert objects to update.
Return Value
Type: Microsoft.EnterpriseManagement.ConnectorFramework.ConnectorMonitoringAlertUpdateFailure[]
Returns an array of ConnectorMonitoringAlertUpdateFailure objects that contain possible errors that occurred during the update.
Remarks
Updates the alerts, including the alert history, to the Operation Manager. The comments are part of the alert history.
To improve performance when updating large numbers of alerts, send no more than 1000 updated alerts in each call to the UpdateMonitoringAlerts method.
See Also
IConnectorFramework Interface
Microsoft.EnterpriseManagement.ConnectorFramework Namespace
Return to top