Share via


ManagementGroup.GetMonitoringEvents Method

Definition

Retrieves monitoring events.

Overloads

GetMonitoringEvents()
Obsolete.

Retrieves all the Event objects in the management group.

GetMonitoringEvents(MonitoringClass)
Obsolete.

Retrieves all the MonitoringEvent objects in the management group.

GetMonitoringEvents(MonitoringEventCriteria)
Obsolete.

Retrieves all the Event objects in the management group.

GetMonitoringEvents(MonitoringClass, TraversalDepth)
Obsolete.

Retrieves all the MonitoringEvent objects in the management group.

GetMonitoringEvents(MonitoringEventCriteria, MonitoringClass)
Obsolete.

Retrieves all the MonitoringEvent objects in the management group.

GetMonitoringEvents(MonitoringEventCriteria, MonitoringClass, TraversalDepth)
Obsolete.

Retrieves all the MonitoringEvent objects in the management group.

GetMonitoringEvents()

Caution

Please use OperationalData.GetMonitoringEvents()

Retrieves all the Event objects in the management group.

public:
 System::Collections::ObjectModel::ReadOnlyCollection<Microsoft::EnterpriseManagement::Monitoring::MonitoringEvent ^> ^ GetMonitoringEvents();
[System.Obsolete("Please use OperationalData.GetMonitoringEvents()")]
public System.Collections.ObjectModel.ReadOnlyCollection<Microsoft.EnterpriseManagement.Monitoring.MonitoringEvent> GetMonitoringEvents ();
member this.GetMonitoringEvents : unit -> System.Collections.ObjectModel.ReadOnlyCollection<Microsoft.EnterpriseManagement.Monitoring.MonitoringEvent>
Public Function GetMonitoringEvents () As ReadOnlyCollection(Of MonitoringEvent)

Returns

A collection of fully populated Event objects.

Attributes

Applies to

GetMonitoringEvents(MonitoringClass)

Caution

Please use OperationalData.GetMonitoringEvents()

Retrieves all the MonitoringEvent objects in the management group.

public:
 System::Collections::ObjectModel::ReadOnlyCollection<Microsoft::EnterpriseManagement::Monitoring::MonitoringEvent ^> ^ GetMonitoringEvents(Microsoft::EnterpriseManagement::Configuration::MonitoringClass ^ monitoringClass);
[System.Obsolete("Please use OperationalData.GetMonitoringEvents()")]
public System.Collections.ObjectModel.ReadOnlyCollection<Microsoft.EnterpriseManagement.Monitoring.MonitoringEvent> GetMonitoringEvents (Microsoft.EnterpriseManagement.Configuration.MonitoringClass monitoringClass);
member this.GetMonitoringEvents : Microsoft.EnterpriseManagement.Configuration.MonitoringClass -> System.Collections.ObjectModel.ReadOnlyCollection<Microsoft.EnterpriseManagement.Monitoring.MonitoringEvent>
Public Function GetMonitoringEvents (monitoringClass As MonitoringClass) As ReadOnlyCollection(Of MonitoringEvent)

Parameters

monitoringClass
MonitoringClass

The monitoring class, and all its derived classes, to scope the method by.

Returns

A collection of fully populated MonitoringEvent objects.

Attributes

Applies to

GetMonitoringEvents(MonitoringEventCriteria)

Caution

Please use OperationalData.GetMonitoringEvents()

Retrieves all the Event objects in the management group.

public:
 System::Collections::ObjectModel::ReadOnlyCollection<Microsoft::EnterpriseManagement::Monitoring::MonitoringEvent ^> ^ GetMonitoringEvents(Microsoft::EnterpriseManagement::Monitoring::MonitoringEventCriteria ^ criteria);
[System.Obsolete("Please use OperationalData.GetMonitoringEvents()")]
public System.Collections.ObjectModel.ReadOnlyCollection<Microsoft.EnterpriseManagement.Monitoring.MonitoringEvent> GetMonitoringEvents (Microsoft.EnterpriseManagement.Monitoring.MonitoringEventCriteria criteria);
member this.GetMonitoringEvents : Microsoft.EnterpriseManagement.Monitoring.MonitoringEventCriteria -> System.Collections.ObjectModel.ReadOnlyCollection<Microsoft.EnterpriseManagement.Monitoring.MonitoringEvent>
Public Function GetMonitoringEvents (criteria As MonitoringEventCriteria) As ReadOnlyCollection(Of MonitoringEvent)

Parameters

criteria
MonitoringEventCriteria

The optional (pass null) criteria to scope the method by.

Returns

A collection of fully populated Event objects.

Attributes

Applies to

GetMonitoringEvents(MonitoringClass, TraversalDepth)

Caution

Please use OperationalData.GetMonitoringEvents()

Retrieves all the MonitoringEvent objects in the management group.

public:
 System::Collections::ObjectModel::ReadOnlyCollection<Microsoft::EnterpriseManagement::Monitoring::MonitoringEvent ^> ^ GetMonitoringEvents(Microsoft::EnterpriseManagement::Configuration::MonitoringClass ^ monitoringClass, Microsoft::EnterpriseManagement::Common::TraversalDepth traversalDepth);
[System.Obsolete("Please use OperationalData.GetMonitoringEvents()")]
public System.Collections.ObjectModel.ReadOnlyCollection<Microsoft.EnterpriseManagement.Monitoring.MonitoringEvent> GetMonitoringEvents (Microsoft.EnterpriseManagement.Configuration.MonitoringClass monitoringClass, Microsoft.EnterpriseManagement.Common.TraversalDepth traversalDepth);
member this.GetMonitoringEvents : Microsoft.EnterpriseManagement.Configuration.MonitoringClass * Microsoft.EnterpriseManagement.Common.TraversalDepth -> System.Collections.ObjectModel.ReadOnlyCollection<Microsoft.EnterpriseManagement.Monitoring.MonitoringEvent>
Public Function GetMonitoringEvents (monitoringClass As MonitoringClass, traversalDepth As TraversalDepth) As ReadOnlyCollection(Of MonitoringEvent)

Parameters

monitoringClass
MonitoringClass

The monitoring class, and all its derived classes, to scope the method by.

traversalDepth
TraversalDepth

The traversal depth for instances. One level implies just the instance of the given class, recursive is all instances contained by those instances as well.

Returns

A collection of fully populated MonitoringEvent objects.

Attributes

Applies to

GetMonitoringEvents(MonitoringEventCriteria, MonitoringClass)

Caution

Please use OperationalData.GetMonitoringEvents()

Retrieves all the MonitoringEvent objects in the management group.

public:
 System::Collections::ObjectModel::ReadOnlyCollection<Microsoft::EnterpriseManagement::Monitoring::MonitoringEvent ^> ^ GetMonitoringEvents(Microsoft::EnterpriseManagement::Monitoring::MonitoringEventCriteria ^ criteria, Microsoft::EnterpriseManagement::Configuration::MonitoringClass ^ monitoringClass);
[System.Obsolete("Please use OperationalData.GetMonitoringEvents()")]
public System.Collections.ObjectModel.ReadOnlyCollection<Microsoft.EnterpriseManagement.Monitoring.MonitoringEvent> GetMonitoringEvents (Microsoft.EnterpriseManagement.Monitoring.MonitoringEventCriteria criteria, Microsoft.EnterpriseManagement.Configuration.MonitoringClass monitoringClass);
member this.GetMonitoringEvents : Microsoft.EnterpriseManagement.Monitoring.MonitoringEventCriteria * Microsoft.EnterpriseManagement.Configuration.MonitoringClass -> System.Collections.ObjectModel.ReadOnlyCollection<Microsoft.EnterpriseManagement.Monitoring.MonitoringEvent>
Public Function GetMonitoringEvents (criteria As MonitoringEventCriteria, monitoringClass As MonitoringClass) As ReadOnlyCollection(Of MonitoringEvent)

Parameters

criteria
MonitoringEventCriteria

The criteria to scope the method by.

monitoringClass
MonitoringClass

The monitoring class, and all its derived classes, to scope the method by.

Returns

A collection of fully populated MonitoringEvent objects.

Attributes

Applies to

GetMonitoringEvents(MonitoringEventCriteria, MonitoringClass, TraversalDepth)

Caution

Please use OperationalData.GetMonitoringEvents()

Retrieves all the MonitoringEvent objects in the management group.

public:
 System::Collections::ObjectModel::ReadOnlyCollection<Microsoft::EnterpriseManagement::Monitoring::MonitoringEvent ^> ^ GetMonitoringEvents(Microsoft::EnterpriseManagement::Monitoring::MonitoringEventCriteria ^ criteria, Microsoft::EnterpriseManagement::Configuration::MonitoringClass ^ monitoringClass, Microsoft::EnterpriseManagement::Common::TraversalDepth traversalDepth);
[System.Obsolete("Please use OperationalData.GetMonitoringEvents()")]
public System.Collections.ObjectModel.ReadOnlyCollection<Microsoft.EnterpriseManagement.Monitoring.MonitoringEvent> GetMonitoringEvents (Microsoft.EnterpriseManagement.Monitoring.MonitoringEventCriteria criteria, Microsoft.EnterpriseManagement.Configuration.MonitoringClass monitoringClass, Microsoft.EnterpriseManagement.Common.TraversalDepth traversalDepth);
member this.GetMonitoringEvents : Microsoft.EnterpriseManagement.Monitoring.MonitoringEventCriteria * Microsoft.EnterpriseManagement.Configuration.MonitoringClass * Microsoft.EnterpriseManagement.Common.TraversalDepth -> System.Collections.ObjectModel.ReadOnlyCollection<Microsoft.EnterpriseManagement.Monitoring.MonitoringEvent>
Public Function GetMonitoringEvents (criteria As MonitoringEventCriteria, monitoringClass As MonitoringClass, traversalDepth As TraversalDepth) As ReadOnlyCollection(Of MonitoringEvent)

Parameters

criteria
MonitoringEventCriteria

The criteria to scope the method by.

monitoringClass
MonitoringClass

The monitoring class, and all its derived classes, to scope the method by.

traversalDepth
TraversalDepth

The traversal depth for instances. One level implies just the instance of the given class, recursive is all instances contained by those instances as well.

Returns

A collection of fully populated MonitoringEvent objects.

Attributes

Applies to