Partager via


ManagementGroup.GetMonitoringAlerts Method ()

 

Applies To: Operations Manager for System Center 2012

Note: This API is now obsolete.

Retrieves all the monitoring alerts from the management group.

Namespace:   Microsoft.EnterpriseManagement
Assembly:  Microsoft.EnterpriseManagement.OperationsManager (in Microsoft.EnterpriseManagement.OperationsManager.dll)

Syntax

[ObsoleteAttribute("Please use OperationalData.GetMonitoringAlerts(MonitoringAlertCriteria.Empty)")]
public ReadOnlyCollection<MonitoringAlert> GetMonitoringAlerts()
public:
[ObsoleteAttribute("Please use OperationalData.GetMonitoringAlerts(MonitoringAlertCriteria.Empty)")]
ReadOnlyCollection<MonitoringAlert^>^ GetMonitoringAlerts()
[<ObsoleteAttribute("Please use OperationalData.GetMonitoringAlerts(MonitoringAlertCriteria.Empty)")>]
member GetMonitoringAlerts : unit -> ReadOnlyCollection<MonitoringAlert>
<ObsoleteAttribute("Please use OperationalData.GetMonitoringAlerts(MonitoringAlertCriteria.Empty)")>
Public Function GetMonitoringAlerts As ReadOnlyCollection(Of MonitoringAlert)

Return Value

Type: System.Collections.ObjectModel.ReadOnlyCollection<MonitoringAlert>

Returns aReadOnlyCollection<T> object ofMonitoringAlertobjects.

See Also

GetMonitoringAlerts Overload
ManagementGroup Class
Microsoft.EnterpriseManagement Namespace

Return to top