ManagementGroup.GetMonitoringEventReader Method (MonitoringEventCriteria, MonitoringClass)
Applies To: Operations Manager for System Center 2012
Note: This API is now obsolete.
Retrieves a reader for the monitoring events of the specified class that match the specified filter.
Namespace: Microsoft.EnterpriseManagement
Assembly: Microsoft.EnterpriseManagement.OperationsManager (in Microsoft.EnterpriseManagement.OperationsManager.dll)
Syntax
[ObsoleteAttribute("Please use OperationalData.GetMonitoringEventReader()")]
public MonitoringEventReader GetMonitoringEventReader(
MonitoringEventCriteria criteria,
MonitoringClass monitoringClass
)
public:
[ObsoleteAttribute("Please use OperationalData.GetMonitoringEventReader()")]
MonitoringEventReader^ GetMonitoringEventReader(
MonitoringEventCriteria^ criteria,
MonitoringClass^ monitoringClass
)
[<ObsoleteAttribute("Please use OperationalData.GetMonitoringEventReader()")>]
member GetMonitoringEventReader :
criteria:MonitoringEventCriteria *
monitoringClass:MonitoringClass -> MonitoringEventReader
<ObsoleteAttribute("Please use OperationalData.GetMonitoringEventReader()")>
Public Function GetMonitoringEventReader (
criteria As MonitoringEventCriteria,
monitoringClass As MonitoringClass
) As MonitoringEventReader
Parameters
criteria
Type: Microsoft.EnterpriseManagement.Monitoring.MonitoringEventCriteriaA value that specifies the kind of monitoring events.
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: Microsoft.EnterpriseManagement.Monitoring.MonitoringEventReader
Returns a MonitoringEventReader object for the specified class that matches the filter.
See Also
GetMonitoringEventReader Overload
ManagementGroup Class
Microsoft.EnterpriseManagement Namespace
Return to top