Applies To: Operations Manager for System Center 2012
Note: This API is now obsolete.
Retrieves a reader for the events of the specified class.
Namespace:   Microsoft.EnterpriseManagement
Assembly:  Microsoft.EnterpriseManagement.OperationsManager (in Microsoft.EnterpriseManagement.OperationsManager.dll)
Syntax
[ObsoleteAttribute("Please use OperationalData.GetMonitoringEventReader()")]
public MonitoringEventReader GetMonitoringEventReader(
    MonitoringClass monitoringClass
)
public:
[ObsoleteAttribute("Please use OperationalData.GetMonitoringEventReader()")]
MonitoringEventReader^ GetMonitoringEventReader(
    MonitoringClass^ monitoringClass
)
[<ObsoleteAttribute("Please use OperationalData.GetMonitoringEventReader()")>]
member GetMonitoringEventReader : 
        monitoringClass:MonitoringClass -> MonitoringEventReader
<ObsoleteAttribute("Please use OperationalData.GetMonitoringEventReader()")>
Public Function GetMonitoringEventReader (
    monitoringClass As MonitoringClass
) As MonitoringEventReader
Parameters
- monitoringClass 
 Type: Microsoft.EnterpriseManagement.Configuration.MonitoringClass- The monitoring base class, with all its derived classes, that defines the range of the returned results. 
Return Value
Type: Microsoft.EnterpriseManagement.Monitoring.MonitoringEventReader
Returns aMonitoringEventReader for the events of the specified class.
See Also
GetMonitoringEventReader Overload
ManagementGroup Class
Microsoft.EnterpriseManagement Namespace
Return to top