Share via


IOperationalDataManagement.GetMonitoringAlertReader Method

Definition

Retrieves a MonitoringAlertReader object that reads alerts.

Overloads

GetMonitoringAlertReader(MonitoringAlertCriteria, Nullable<DateTime>)

Retrieves all the MonitoringAlert objects in the management group.

GetMonitoringAlertReader(MonitoringAlertCriteria, ManagementPackClass, TraversalDepth, Nullable<DateTime>)

Retrieves all the MonitoringAlert objects in the management group.

GetMonitoringAlertReader(Guid, MonitoringAlertCriteria, TraversalDepth, Nullable<DateTime>)

Gets alerts for an instance.

GetMonitoringAlertReader(Guid, MonitoringAlertCriteria, ManagementPackClass, TraversalDepth, Nullable<DateTime>)

Gets alerts for an instance.

GetMonitoringAlertReader(MonitoringAlertCriteria, Nullable<DateTime>)

Retrieves all the MonitoringAlert objects in the management group.

public:
 Microsoft::EnterpriseManagement::Monitoring::MonitoringAlertReader ^ GetMonitoringAlertReader(Microsoft::EnterpriseManagement::Monitoring::MonitoringAlertCriteria ^ criteria, Nullable<DateTime> lastModified);
public Microsoft.EnterpriseManagement.Monitoring.MonitoringAlertReader GetMonitoringAlertReader (Microsoft.EnterpriseManagement.Monitoring.MonitoringAlertCriteria criteria, DateTime? lastModified);
abstract member GetMonitoringAlertReader : Microsoft.EnterpriseManagement.Monitoring.MonitoringAlertCriteria * Nullable<DateTime> -> Microsoft.EnterpriseManagement.Monitoring.MonitoringAlertReader
Public Function GetMonitoringAlertReader (criteria As MonitoringAlertCriteria, lastModified As Nullable(Of DateTime)) As MonitoringAlertReader

Parameters

criteria
MonitoringAlertCriteria

The criteria to scope the method by.

lastModified
Nullable<DateTime>

The time the alerts should have changed since.

Returns

A collection of fully populated MonitoringAlert objects.

Applies to

GetMonitoringAlertReader(MonitoringAlertCriteria, ManagementPackClass, TraversalDepth, Nullable<DateTime>)

Retrieves all the MonitoringAlert objects in the management group.

public:
 Microsoft::EnterpriseManagement::Monitoring::MonitoringAlertReader ^ GetMonitoringAlertReader(Microsoft::EnterpriseManagement::Monitoring::MonitoringAlertCriteria ^ criteria, Microsoft::EnterpriseManagement::Configuration::ManagementPackClass ^ managementPackClass, Microsoft::EnterpriseManagement::Common::TraversalDepth traversalDepth, Nullable<DateTime> lastModified);
public Microsoft.EnterpriseManagement.Monitoring.MonitoringAlertReader GetMonitoringAlertReader (Microsoft.EnterpriseManagement.Monitoring.MonitoringAlertCriteria criteria, Microsoft.EnterpriseManagement.Configuration.ManagementPackClass managementPackClass, Microsoft.EnterpriseManagement.Common.TraversalDepth traversalDepth, DateTime? lastModified);
abstract member GetMonitoringAlertReader : Microsoft.EnterpriseManagement.Monitoring.MonitoringAlertCriteria * Microsoft.EnterpriseManagement.Configuration.ManagementPackClass * Microsoft.EnterpriseManagement.Common.TraversalDepth * Nullable<DateTime> -> Microsoft.EnterpriseManagement.Monitoring.MonitoringAlertReader
Public Function GetMonitoringAlertReader (criteria As MonitoringAlertCriteria, managementPackClass As ManagementPackClass, traversalDepth As TraversalDepth, lastModified As Nullable(Of DateTime)) As MonitoringAlertReader

Parameters

criteria
MonitoringAlertCriteria

The criteria to scope the method by.

managementPackClass
ManagementPackClass

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.

lastModified
Nullable<DateTime>

Scope alerts to changed since this time

Returns

A collection of fully populated MonitoringAlert objects.

Applies to

GetMonitoringAlertReader(Guid, MonitoringAlertCriteria, TraversalDepth, Nullable<DateTime>)

Gets alerts for an instance.

public:
 Microsoft::EnterpriseManagement::Monitoring::MonitoringAlertReader ^ GetMonitoringAlertReader(Guid id, Microsoft::EnterpriseManagement::Monitoring::MonitoringAlertCriteria ^ criteria, Microsoft::EnterpriseManagement::Common::TraversalDepth traversalDepth, Nullable<DateTime> lastModified);
public Microsoft.EnterpriseManagement.Monitoring.MonitoringAlertReader GetMonitoringAlertReader (Guid id, Microsoft.EnterpriseManagement.Monitoring.MonitoringAlertCriteria criteria, Microsoft.EnterpriseManagement.Common.TraversalDepth traversalDepth, DateTime? lastModified);
abstract member GetMonitoringAlertReader : Guid * Microsoft.EnterpriseManagement.Monitoring.MonitoringAlertCriteria * Microsoft.EnterpriseManagement.Common.TraversalDepth * Nullable<DateTime> -> Microsoft.EnterpriseManagement.Monitoring.MonitoringAlertReader
Public Function GetMonitoringAlertReader (id As Guid, criteria As MonitoringAlertCriteria, traversalDepth As TraversalDepth, lastModified As Nullable(Of DateTime)) As MonitoringAlertReader

Parameters

id
Guid
traversalDepth
TraversalDepth
lastModified
Nullable<DateTime>

Returns

The alerts for the instance.

Applies to

GetMonitoringAlertReader(Guid, MonitoringAlertCriteria, ManagementPackClass, TraversalDepth, Nullable<DateTime>)

Gets alerts for an instance.

public:
 Microsoft::EnterpriseManagement::Monitoring::MonitoringAlertReader ^ GetMonitoringAlertReader(Guid id, Microsoft::EnterpriseManagement::Monitoring::MonitoringAlertCriteria ^ criteria, Microsoft::EnterpriseManagement::Configuration::ManagementPackClass ^ managementPackClass, Microsoft::EnterpriseManagement::Common::TraversalDepth traversalDepth, Nullable<DateTime> lastModified);
public Microsoft.EnterpriseManagement.Monitoring.MonitoringAlertReader GetMonitoringAlertReader (Guid id, Microsoft.EnterpriseManagement.Monitoring.MonitoringAlertCriteria criteria, Microsoft.EnterpriseManagement.Configuration.ManagementPackClass managementPackClass, Microsoft.EnterpriseManagement.Common.TraversalDepth traversalDepth, DateTime? lastModified);
abstract member GetMonitoringAlertReader : Guid * Microsoft.EnterpriseManagement.Monitoring.MonitoringAlertCriteria * Microsoft.EnterpriseManagement.Configuration.ManagementPackClass * Microsoft.EnterpriseManagement.Common.TraversalDepth * Nullable<DateTime> -> Microsoft.EnterpriseManagement.Monitoring.MonitoringAlertReader
Public Function GetMonitoringAlertReader (id As Guid, criteria As MonitoringAlertCriteria, managementPackClass As ManagementPackClass, traversalDepth As TraversalDepth, lastModified As Nullable(Of DateTime)) As MonitoringAlertReader

Parameters

id
Guid
managementPackClass
ManagementPackClass
traversalDepth
TraversalDepth
lastModified
Nullable<DateTime>

Returns

The alerts for the instance.

Applies to