Hinweis
Für den Zugriff auf diese Seite ist eine Autorisierung erforderlich. Sie können versuchen, sich anzumelden oder das Verzeichnis zu wechseln.
Für den Zugriff auf diese Seite ist eine Autorisierung erforderlich. Sie können versuchen, das Verzeichnis zu wechseln.
Applies To: Operations Manager for System Center 2012
Note: This API is now obsolete.
Updates the specified collection of monitoring alerts and explains the update.
Namespace: Microsoft.EnterpriseManagement
Assembly: Microsoft.EnterpriseManagement.OperationsManager (in Microsoft.EnterpriseManagement.OperationsManager.dll)
Syntax
[ObsoleteAttribute("Please use OperationalData.UpdateMonitoringAlerts<T>()")]
public ReadOnlyCollection<MonitoringAlertUpdateFailure> UpdateMonitoringAlerts<T>(
IList<T> alerts,
string comments
)
where T : MonitoringAlert
public:
generic<typename T>
where T : MonitoringAlert
[ObsoleteAttribute("Please use OperationalData.UpdateMonitoringAlerts<T>()")]
ReadOnlyCollection<MonitoringAlertUpdateFailure^>^ UpdateMonitoringAlerts(
IList<T>^ alerts,
String^ comments
)
[<ObsoleteAttribute("Please use OperationalData.UpdateMonitoringAlerts<T>()")>]
member UpdateMonitoringAlerts<'T when 'T : MonitoringAlert> :
alerts:IList<'T> *
comments:string -> ReadOnlyCollection<MonitoringAlertUpdateFailure>
<ObsoleteAttribute("Please use OperationalData.UpdateMonitoringAlerts<T>()")>
Public Function UpdateMonitoringAlerts(Of T As MonitoringAlert) (
alerts As IList(Of T),
comments As String
) As ReadOnlyCollection(Of MonitoringAlertUpdateFailure)
Parameters
alerts
Type: System.Collections.Generic.IList<T>The collection of alerts to update.
comments
Type: System.StringThe comments that explain the reason for the update.
Return Value
Type: System.Collections.ObjectModel.ReadOnlyCollection<MonitoringAlertUpdateFailure>
Returns aReadOnlyCollection<T> object ofMonitoringAlertUpdateFailure objects that contain information about the alerts that failed to update.
Type Parameters
- T
Must be of typePartialMonitoringObject.
See Also
UpdateMonitoringAlerts Overload
ManagementGroup Class
Microsoft.EnterpriseManagement Namespace
Return to top