Condividi tramite


ManagementGroup.GetMonitoringEvents Method ()

 

Applies To: Operations Manager for System Center 2012

Note: This API is now obsolete.

Retrieves a collection of all the monitoring events.

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

Syntax

[ObsoleteAttribute("Please use OperationalData.GetMonitoringEvents()")]
public ReadOnlyCollection<MonitoringEvent> GetMonitoringEvents()
public:
[ObsoleteAttribute("Please use OperationalData.GetMonitoringEvents()")]
ReadOnlyCollection<MonitoringEvent^>^ GetMonitoringEvents()
[<ObsoleteAttribute("Please use OperationalData.GetMonitoringEvents()")>]
member GetMonitoringEvents : unit -> ReadOnlyCollection<MonitoringEvent>
<ObsoleteAttribute("Please use OperationalData.GetMonitoringEvents()")>
Public Function GetMonitoringEvents As ReadOnlyCollection(Of MonitoringEvent)

Return Value

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

Returns aReadOnlyCollection<T> ofMonitoringEvent objects.

See Also

GetMonitoringEvents Overload
ManagementGroup Class
Microsoft.EnterpriseManagement Namespace

Return to top