ManagementGroup.GetMonitoringEvents Method (MonitoringEventCriteria, MonitoringClass)
Applies To: Operations Manager for System Center 2012
Note: This API is now obsolete.
Retrieves a collection of monitoring events for 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.GetMonitoringEvents()")]
public ReadOnlyCollection<MonitoringEvent> GetMonitoringEvents(
MonitoringEventCriteria criteria,
MonitoringClass monitoringClass
)
public:
[ObsoleteAttribute("Please use OperationalData.GetMonitoringEvents()")]
ReadOnlyCollection<MonitoringEvent^>^ GetMonitoringEvents(
MonitoringEventCriteria^ criteria,
MonitoringClass^ monitoringClass
)
[<ObsoleteAttribute("Please use OperationalData.GetMonitoringEvents()")>]
member GetMonitoringEvents :
criteria:MonitoringEventCriteria *
monitoringClass:MonitoringClass -> ReadOnlyCollection<MonitoringEvent>
<ObsoleteAttribute("Please use OperationalData.GetMonitoringEvents()")>
Public Function GetMonitoringEvents (
criteria As MonitoringEventCriteria,
monitoringClass As MonitoringClass
) As ReadOnlyCollection(Of MonitoringEvent)
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: System.Collections.ObjectModel.ReadOnlyCollection<MonitoringEvent>
Returns aReadOnlyCollection<T> ofMonitoringEvent objects.
See Also
GetMonitoringEvents Overload
ManagementGroup Class
Microsoft.EnterpriseManagement Namespace
Return to top