Share via


PartialMonitoringObjectBase.GetMonitoringEvents Method (MonitoringEventCriteria)

 

Applies To: Operations Manager for System Center 2012

Gets all the event objects that are related to this monitoring object and that meet the specified criteria.

Namespace:   Microsoft.EnterpriseManagement.Monitoring
Assembly:  Microsoft.EnterpriseManagement.OperationsManager (in Microsoft.EnterpriseManagement.OperationsManager.dll)

Syntax

public ReadOnlyCollection<MonitoringEvent> GetMonitoringEvents(
    MonitoringEventCriteria criteria
)
public:
ReadOnlyCollection<MonitoringEvent^>^ GetMonitoringEvents(
    MonitoringEventCriteria^ criteria
)
member GetMonitoringEvents : 
        criteria:MonitoringEventCriteria -> ReadOnlyCollection<MonitoringEvent>
Public Function GetMonitoringEvents (
    criteria As MonitoringEventCriteria
) As ReadOnlyCollection(Of MonitoringEvent)

Parameters

Return Value

Type: System.Collections.ObjectModel.ReadOnlyCollection<MonitoringEvent>

Returns a ReadOnlyCollection<T> of MonitoringEvent objects.

See Also

GetMonitoringEvents Overload
PartialMonitoringObjectBase Class
Microsoft.EnterpriseManagement.Monitoring Namespace

Return to top