ManagementGroup.UpdateMonitoringAlerts Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Updates a batch of monitoring alerts.
Overloads
UpdateMonitoringAlerts<T>(IList<T>, String) |
Obsolete.
Updates the batch of alerts. |
UpdateMonitoringAlerts<T>(IList<T>, String, MonitoringConnector) |
Obsolete.
Updates the batch of alerts. |
UpdateMonitoringAlerts<T>(IList<T>, String)
Caution
Please use OperationalData.UpdateMonitoringAlerts<T>()
Updates the batch of alerts.
public:
generic <typename T>
where T : Microsoft::EnterpriseManagement::Monitoring::MonitoringAlert System::Collections::ObjectModel::ReadOnlyCollection<Microsoft::EnterpriseManagement::Monitoring::MonitoringAlertUpdateFailure ^> ^ UpdateMonitoringAlerts(System::Collections::Generic::IList<T> ^ alerts, System::String ^ comments);
[System.Obsolete("Please use OperationalData.UpdateMonitoringAlerts<T>()")]
public System.Collections.ObjectModel.ReadOnlyCollection<Microsoft.EnterpriseManagement.Monitoring.MonitoringAlertUpdateFailure> UpdateMonitoringAlerts<T> (System.Collections.Generic.IList<T> alerts, string comments) where T : Microsoft.EnterpriseManagement.Monitoring.MonitoringAlert;
member this.UpdateMonitoringAlerts : System.Collections.Generic.IList<'T (requires 'T :> Microsoft.EnterpriseManagement.Monitoring.MonitoringAlert)> * string -> System.Collections.ObjectModel.ReadOnlyCollection<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 ReadOnlyCollection(Of MonitoringAlertUpdateFailure)
Type Parameters
- T
Must be of typePartialMonitoringObject.
Parameters
- alerts
- IList<T>
The alerts to update.
- comments
- String
The comments to append for each change.
Returns
The failures, of any.
- Attributes
Applies to
UpdateMonitoringAlerts<T>(IList<T>, String, MonitoringConnector)
Caution
Please use OperationalData.UpdateMonitoringAlerts<T>()
Updates the batch of alerts.
public:
generic <typename T>
where T : Microsoft::EnterpriseManagement::Monitoring::MonitoringAlert System::Collections::ObjectModel::ReadOnlyCollection<Microsoft::EnterpriseManagement::Monitoring::MonitoringAlertUpdateFailure ^> ^ UpdateMonitoringAlerts(System::Collections::Generic::IList<T> ^ alerts, System::String ^ comments, Microsoft::EnterpriseManagement::ConnectorFramework::MonitoringConnector ^ connector);
[System.Obsolete("Please use OperationalData.UpdateMonitoringAlerts<T>()")]
public System.Collections.ObjectModel.ReadOnlyCollection<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;
member this.UpdateMonitoringAlerts : System.Collections.Generic.IList<'T (requires 'T :> Microsoft.EnterpriseManagement.Monitoring.MonitoringAlert)> * string * Microsoft.EnterpriseManagement.ConnectorFramework.MonitoringConnector -> System.Collections.ObjectModel.ReadOnlyCollection<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 ReadOnlyCollection(Of MonitoringAlertUpdateFailure)
Type Parameters
- T
Must be of typePartialMonitoringObject.
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.
- Attributes