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