Share via


IOperationalDataManagement.UpdateMonitoringAlerts Method

Definition

Updates a batch of monitoring alerts.

Overloads

UpdateMonitoringAlerts<T>(IList<T>, String)

Updates the batch of alerts.

UpdateMonitoringAlerts<T>(IList<T>, String, MonitoringConnector)

Updates the batch of alerts.

UpdateMonitoringAlerts<T>(IList<T>, String)

Updates the batch of alerts.

public:
generic <typename T>
 where T : Microsoft::EnterpriseManagement::Monitoring::MonitoringAlert System::Collections::Generic::IList<Microsoft::EnterpriseManagement::Monitoring::MonitoringAlertUpdateFailure ^> ^ UpdateMonitoringAlerts(System::Collections::Generic::IList<T> ^ alerts, System::String ^ comments);
public System.Collections.Generic.IList<Microsoft.EnterpriseManagement.Monitoring.MonitoringAlertUpdateFailure> UpdateMonitoringAlerts<T> (System.Collections.Generic.IList<T> alerts, string comments) where T : Microsoft.EnterpriseManagement.Monitoring.MonitoringAlert;
abstract member UpdateMonitoringAlerts : System.Collections.Generic.IList<'T (requires 'T :> Microsoft.EnterpriseManagement.Monitoring.MonitoringAlert)> * string -> System.Collections.Generic.IList<Microsoft.EnterpriseManagement.Monitoring.MonitoringAlertUpdateFailure> (requires 'T :> Microsoft.EnterpriseManagement.Monitoring.MonitoringAlert)
Public Function UpdateMonitoringAlerts(Of T As MonitoringAlert) (alerts As IList(Of T), comments As String) As IList(Of MonitoringAlertUpdateFailure)

Type Parameters

T

Must be of type PartialMonitoringObject.

Parameters

alerts
IList<T>

The alerts to update.

comments
String

The comments to append for each change.

Returns

The failures, of any.

Applies to

UpdateMonitoringAlerts<T>(IList<T>, String, MonitoringConnector)

Updates the batch of alerts.

public:
generic <typename T>
 where T : Microsoft::EnterpriseManagement::Monitoring::MonitoringAlert System::Collections::Generic::IList<Microsoft::EnterpriseManagement::Monitoring::MonitoringAlertUpdateFailure ^> ^ UpdateMonitoringAlerts(System::Collections::Generic::IList<T> ^ alerts, System::String ^ comments, Microsoft::EnterpriseManagement::ConnectorFramework::MonitoringConnector ^ connector);
public System.Collections.Generic.IList<Microsoft.EnterpriseManagement.Monitoring.MonitoringAlertUpdateFailure> UpdateMonitoringAlerts<T> (System.Collections.Generic.IList<T> alerts, string comments, Microsoft.EnterpriseManagement.ConnectorFramework.MonitoringConnector connector) where T : Microsoft.EnterpriseManagement.Monitoring.MonitoringAlert;
abstract member UpdateMonitoringAlerts : System.Collections.Generic.IList<'T (requires 'T :> Microsoft.EnterpriseManagement.Monitoring.MonitoringAlert)> * string * Microsoft.EnterpriseManagement.ConnectorFramework.MonitoringConnector -> System.Collections.Generic.IList<Microsoft.EnterpriseManagement.Monitoring.MonitoringAlertUpdateFailure> (requires 'T :> Microsoft.EnterpriseManagement.Monitoring.MonitoringAlert)
Public Function UpdateMonitoringAlerts(Of T As MonitoringAlert) (alerts As IList(Of T), comments As String, connector As MonitoringConnector) As IList(Of MonitoringAlertUpdateFailure)

Type Parameters

T

Must be of type PartialMonitoringObject.

Parameters

alerts
IList<T>

The alerts to update.

comments
String

The comments to append for each change.

connector
MonitoringConnector

The connector on whose behalf to update the alert.

Returns

The failures, of any.

Applies to