PartialMonitoringObjectBase.GetMonitoringEvents Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Gets all the event objects that are related to this monitoring object.
Overloads
GetMonitoringEvents(MonitoringEventCriteria, TraversalDepth) |
Retrieves all the Event objects related to this PartialMonitoringObject. |
GetMonitoringEvents(MonitoringEventCriteria, ManagementPackClass, TraversalDepth) |
Retrieves all the MonitoringEvent objects related to this PartialMonitoringObject. |
GetMonitoringEvents(MonitoringEventCriteria, ManagementPackClass) |
Retrieves all the MonitoringEvent objects related to this PartialMonitoringObject. |
GetMonitoringEvents(ManagementPackClass, TraversalDepth) |
Retrieves all the MonitoringEvent objects related to this PartialMonitoringObject. |
GetMonitoringEvents() |
Retrieves all the Event objects related to this PartialMonitoringObject. |
GetMonitoringEvents(ManagementPackClass) |
Retrieves all the MonitoringEvent objects related to this PartialMonitoringObject. |
GetMonitoringEvents(TraversalDepth) |
Retrieves all the Event objects related to this PartialMonitoringObject. |
GetMonitoringEvents(MonitoringEventCriteria) |
Retrieves all the Event objects related to this PartialMonitoringObject. |
GetMonitoringEvents(MonitoringEventCriteria, TraversalDepth)
Retrieves all the Event objects related to this PartialMonitoringObject.
public:
System::Collections::ObjectModel::ReadOnlyCollection<Microsoft::EnterpriseManagement::Monitoring::MonitoringEvent ^> ^ GetMonitoringEvents(Microsoft::EnterpriseManagement::Monitoring::MonitoringEventCriteria ^ criteria, Microsoft::EnterpriseManagement::Common::TraversalDepth traversalDepth);
public System.Collections.ObjectModel.ReadOnlyCollection<Microsoft.EnterpriseManagement.Monitoring.MonitoringEvent> GetMonitoringEvents (Microsoft.EnterpriseManagement.Monitoring.MonitoringEventCriteria criteria, Microsoft.EnterpriseManagement.Common.TraversalDepth traversalDepth);
member this.GetMonitoringEvents : Microsoft.EnterpriseManagement.Monitoring.MonitoringEventCriteria * Microsoft.EnterpriseManagement.Common.TraversalDepth -> System.Collections.ObjectModel.ReadOnlyCollection<Microsoft.EnterpriseManagement.Monitoring.MonitoringEvent>
Public Function GetMonitoringEvents (criteria As MonitoringEventCriteria, traversalDepth As TraversalDepth) As ReadOnlyCollection(Of MonitoringEvent)
Parameters
- criteria
- MonitoringEventCriteria
The optional (pass null) criteria to scope the method by.
- traversalDepth
- TraversalDepth
Whether to return events from entities contained by this entity as well.
Returns
A collection of fully populated Event objects.
Applies to
GetMonitoringEvents(MonitoringEventCriteria, ManagementPackClass, TraversalDepth)
Retrieves all the MonitoringEvent objects related to this PartialMonitoringObject.
public:
System::Collections::ObjectModel::ReadOnlyCollection<Microsoft::EnterpriseManagement::Monitoring::MonitoringEvent ^> ^ GetMonitoringEvents(Microsoft::EnterpriseManagement::Monitoring::MonitoringEventCriteria ^ criteria, Microsoft::EnterpriseManagement::Configuration::ManagementPackClass ^ managementPackClass, Microsoft::EnterpriseManagement::Common::TraversalDepth traversalDepth);
public System.Collections.ObjectModel.ReadOnlyCollection<Microsoft.EnterpriseManagement.Monitoring.MonitoringEvent> GetMonitoringEvents (Microsoft.EnterpriseManagement.Monitoring.MonitoringEventCriteria criteria, Microsoft.EnterpriseManagement.Configuration.ManagementPackClass managementPackClass, Microsoft.EnterpriseManagement.Common.TraversalDepth traversalDepth);
member this.GetMonitoringEvents : Microsoft.EnterpriseManagement.Monitoring.MonitoringEventCriteria * Microsoft.EnterpriseManagement.Configuration.ManagementPackClass * Microsoft.EnterpriseManagement.Common.TraversalDepth -> System.Collections.ObjectModel.ReadOnlyCollection<Microsoft.EnterpriseManagement.Monitoring.MonitoringEvent>
Public Function GetMonitoringEvents (criteria As MonitoringEventCriteria, managementPackClass As ManagementPackClass, traversalDepth As TraversalDepth) As ReadOnlyCollection(Of MonitoringEvent)
Parameters
- criteria
- MonitoringEventCriteria
The optional (pass null) criteria to scope the method by.
- managementPackClass
- ManagementPackClass
The class to scope by.
- traversalDepth
- TraversalDepth
Whether to include instance that are contained by instances of the class.
Returns
A collection of fully populated event objects.
Applies to
GetMonitoringEvents(MonitoringEventCriteria, ManagementPackClass)
Retrieves all the MonitoringEvent objects related to this PartialMonitoringObject.
public:
System::Collections::ObjectModel::ReadOnlyCollection<Microsoft::EnterpriseManagement::Monitoring::MonitoringEvent ^> ^ GetMonitoringEvents(Microsoft::EnterpriseManagement::Monitoring::MonitoringEventCriteria ^ criteria, Microsoft::EnterpriseManagement::Configuration::ManagementPackClass ^ managementPackClass);
public System.Collections.ObjectModel.ReadOnlyCollection<Microsoft.EnterpriseManagement.Monitoring.MonitoringEvent> GetMonitoringEvents (Microsoft.EnterpriseManagement.Monitoring.MonitoringEventCriteria criteria, Microsoft.EnterpriseManagement.Configuration.ManagementPackClass managementPackClass);
member this.GetMonitoringEvents : Microsoft.EnterpriseManagement.Monitoring.MonitoringEventCriteria * Microsoft.EnterpriseManagement.Configuration.ManagementPackClass -> System.Collections.ObjectModel.ReadOnlyCollection<Microsoft.EnterpriseManagement.Monitoring.MonitoringEvent>
Public Function GetMonitoringEvents (criteria As MonitoringEventCriteria, managementPackClass As ManagementPackClass) As ReadOnlyCollection(Of MonitoringEvent)
Parameters
- criteria
- MonitoringEventCriteria
The optional (pass null) criteria to scope the method by.
- managementPackClass
- ManagementPackClass
The class to scope by.
Returns
A collection of fully populated event objects.
Applies to
GetMonitoringEvents(ManagementPackClass, TraversalDepth)
Retrieves all the MonitoringEvent objects related to this PartialMonitoringObject.
public:
System::Collections::ObjectModel::ReadOnlyCollection<Microsoft::EnterpriseManagement::Monitoring::MonitoringEvent ^> ^ GetMonitoringEvents(Microsoft::EnterpriseManagement::Configuration::ManagementPackClass ^ managementPackClass, Microsoft::EnterpriseManagement::Common::TraversalDepth traversalDepth);
public System.Collections.ObjectModel.ReadOnlyCollection<Microsoft.EnterpriseManagement.Monitoring.MonitoringEvent> GetMonitoringEvents (Microsoft.EnterpriseManagement.Configuration.ManagementPackClass managementPackClass, Microsoft.EnterpriseManagement.Common.TraversalDepth traversalDepth);
member this.GetMonitoringEvents : Microsoft.EnterpriseManagement.Configuration.ManagementPackClass * Microsoft.EnterpriseManagement.Common.TraversalDepth -> System.Collections.ObjectModel.ReadOnlyCollection<Microsoft.EnterpriseManagement.Monitoring.MonitoringEvent>
Public Function GetMonitoringEvents (managementPackClass As ManagementPackClass, traversalDepth As TraversalDepth) As ReadOnlyCollection(Of MonitoringEvent)
Parameters
- managementPackClass
- ManagementPackClass
The class to scope by.
- traversalDepth
- TraversalDepth
Whether to include instance that are contained by instances of the class.
Returns
A collection of fully populated event objects.
Applies to
GetMonitoringEvents()
Retrieves all the Event objects related to this PartialMonitoringObject.
public:
System::Collections::ObjectModel::ReadOnlyCollection<Microsoft::EnterpriseManagement::Monitoring::MonitoringEvent ^> ^ 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.
Applies to
GetMonitoringEvents(ManagementPackClass)
Retrieves all the MonitoringEvent objects related to this PartialMonitoringObject.
public:
System::Collections::ObjectModel::ReadOnlyCollection<Microsoft::EnterpriseManagement::Monitoring::MonitoringEvent ^> ^ GetMonitoringEvents(Microsoft::EnterpriseManagement::Configuration::ManagementPackClass ^ managementPackClass);
public System.Collections.ObjectModel.ReadOnlyCollection<Microsoft.EnterpriseManagement.Monitoring.MonitoringEvent> GetMonitoringEvents (Microsoft.EnterpriseManagement.Configuration.ManagementPackClass managementPackClass);
member this.GetMonitoringEvents : Microsoft.EnterpriseManagement.Configuration.ManagementPackClass -> System.Collections.ObjectModel.ReadOnlyCollection<Microsoft.EnterpriseManagement.Monitoring.MonitoringEvent>
Public Function GetMonitoringEvents (managementPackClass As ManagementPackClass) As ReadOnlyCollection(Of MonitoringEvent)
Parameters
- managementPackClass
- ManagementPackClass
The class to scope by.
Returns
A collection of fully populated event objects.
Applies to
GetMonitoringEvents(TraversalDepth)
Retrieves all the Event objects related to this PartialMonitoringObject.
public:
System::Collections::ObjectModel::ReadOnlyCollection<Microsoft::EnterpriseManagement::Monitoring::MonitoringEvent ^> ^ GetMonitoringEvents(Microsoft::EnterpriseManagement::Common::TraversalDepth traversalDepth);
public System.Collections.ObjectModel.ReadOnlyCollection<Microsoft.EnterpriseManagement.Monitoring.MonitoringEvent> GetMonitoringEvents (Microsoft.EnterpriseManagement.Common.TraversalDepth traversalDepth);
member this.GetMonitoringEvents : Microsoft.EnterpriseManagement.Common.TraversalDepth -> System.Collections.ObjectModel.ReadOnlyCollection<Microsoft.EnterpriseManagement.Monitoring.MonitoringEvent>
Public Function GetMonitoringEvents (traversalDepth As TraversalDepth) As ReadOnlyCollection(Of MonitoringEvent)
Parameters
- traversalDepth
- TraversalDepth
Whether to return events from entities contained by this entity as well.
Returns
A collection of fully populated Event objects.
Applies to
GetMonitoringEvents(MonitoringEventCriteria)
Retrieves all the Event objects related to this PartialMonitoringObject.
public:
System::Collections::ObjectModel::ReadOnlyCollection<Microsoft::EnterpriseManagement::Monitoring::MonitoringEvent ^> ^ GetMonitoringEvents(Microsoft::EnterpriseManagement::Monitoring::MonitoringEventCriteria ^ criteria);
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.