ManagementGroup.GetMonitoringEvents Method (MonitoringClass)
Applies To: Operations Manager for System Center 2012
Note: This API is now obsolete.
Retrieves a collection of monitoring events for the specified scope.
Namespace: Microsoft.EnterpriseManagement
Assembly: Microsoft.EnterpriseManagement.OperationsManager (in Microsoft.EnterpriseManagement.OperationsManager.dll)
Syntax
[ObsoleteAttribute("Please use OperationalData.GetMonitoringEvents()")]
public ReadOnlyCollection<MonitoringEvent> GetMonitoringEvents(
MonitoringClass monitoringClass
)
public:
[ObsoleteAttribute("Please use OperationalData.GetMonitoringEvents()")]
ReadOnlyCollection<MonitoringEvent^>^ GetMonitoringEvents(
MonitoringClass^ monitoringClass
)
[<ObsoleteAttribute("Please use OperationalData.GetMonitoringEvents()")>]
member GetMonitoringEvents :
monitoringClass:MonitoringClass -> ReadOnlyCollection<MonitoringEvent>
<ObsoleteAttribute("Please use OperationalData.GetMonitoringEvents()")>
Public Function GetMonitoringEvents (
monitoringClass As MonitoringClass
) As ReadOnlyCollection(Of MonitoringEvent)
Parameters
monitoringClass
Type: Microsoft.EnterpriseManagement.Configuration.MonitoringClassThe monitoring base class, with all its derived classes, that defines the range of the returned results.
Return Value
Type: System.Collections.ObjectModel.ReadOnlyCollection<MonitoringEvent>
Returns aReadOnlyCollection<T>object ofMonitoringEventobjects.
See Also
GetMonitoringEvents Overload
ManagementGroup Class
Microsoft.EnterpriseManagement Namespace
Return to top