IConnectorFramework.UpdateMonitoringAlerts(Guid, String, ConnectorMonitoringAlert[]) Method

Definition

Updates the given alerts.

public:
 cli::array <Microsoft::EnterpriseManagement::ConnectorFramework::ConnectorMonitoringAlertUpdateFailure ^> ^ UpdateMonitoringAlerts(Guid connectorId, System::String ^ comments, cli::array <Microsoft::EnterpriseManagement::ConnectorFramework::ConnectorMonitoringAlert ^> ^ alertsToUpdate);
[System.ServiceModel.FaultContract(typeof(System.ArgumentOutOfRangeException))]
[System.ServiceModel.FaultContract(typeof(Microsoft.EnterpriseManagement.Common.ConnectorInvalidException))]
[System.ServiceModel.FaultContract(typeof(Microsoft.EnterpriseManagement.Common.InvalidDatabaseDataException))]
[System.ServiceModel.FaultContract(typeof(System.ArgumentNullException))]
[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.FaultContract(typeof(Microsoft.EnterpriseManagement.Common.UnknownChannelException))]
[System.ServiceModel.FaultContract(typeof(Microsoft.EnterpriseManagement.Common.UnauthorizedAccessEnterpriseManagementException))]
[System.ServiceModel.FaultContract(typeof(Microsoft.EnterpriseManagement.Common.UnknownAuthorizationStoreException))]
[System.ServiceModel.FaultContract(typeof(Microsoft.EnterpriseManagement.Common.UnknownDatabaseException))]
[System.ServiceModel.OperationContract]
public Microsoft.EnterpriseManagement.ConnectorFramework.ConnectorMonitoringAlertUpdateFailure[] UpdateMonitoringAlerts (Guid connectorId, string comments, Microsoft.EnterpriseManagement.ConnectorFramework.ConnectorMonitoringAlert[] alertsToUpdate);
abstract member UpdateMonitoringAlerts : Guid * string * Microsoft.EnterpriseManagement.ConnectorFramework.ConnectorMonitoringAlert[] -> Microsoft.EnterpriseManagement.ConnectorFramework.ConnectorMonitoringAlertUpdateFailure[]
Public Function UpdateMonitoringAlerts (connectorId As Guid, comments As String, alertsToUpdate As ConnectorMonitoringAlert()) As ConnectorMonitoringAlertUpdateFailure()

Parameters

connectorId
Guid

The connector id.

comments
String

The comments to apply to the update.

alertsToUpdate
ConnectorMonitoringAlert[]

The alerts to update.

Returns

ConnectorMonitoringAlertUpdateFailure[]

An array of possible errors.

Attributes

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.

Applies to