次の方法で共有


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

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