ManagementGroup::GetMonitoringEventReader Method (MonitoringEventCriteria^, MonitoringClass^)

System Center
 

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)

public:
[ObsoleteAttribute("Please use OperationalData.GetMonitoringEventReader()")]
MonitoringEventReader^ GetMonitoringEventReader(
	MonitoringEventCriteria^ criteria,
	MonitoringClass^ monitoringClass
)

Parameters

criteria
Type: Microsoft.EnterpriseManagement.Monitoring::MonitoringEventCriteria^

A value that specifies the kind of monitoring events.

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 a MonitoringEventReader object for the specified class that matches the filter.

Return to top
Show: