IOperationalDataManagement.GetMonitoringAlerts Method

Definition

Retrieves a collection of monitoring alerts from the management group.

Overloads

GetMonitoringAlerts(MonitoringAlertCriteria, Nullable<DateTime>)

Retrieves all the MonitoringAlert objects in the management group.

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

Retrieves all the MonitoringAlert objects in the management group.

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

Gets alerts for an instance.

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

Gets alerts for an instance.

GetMonitoringAlerts(MonitoringAlertCriteria, Nullable<DateTime>)

Retrieves all the MonitoringAlert objects in the management group.

public:
 System::Collections::Generic::IList<Microsoft::EnterpriseManagement::Monitoring::MonitoringAlert ^> ^ GetMonitoringAlerts(Microsoft::EnterpriseManagement::Monitoring::MonitoringAlertCriteria ^ criteria, Nullable<DateTime> lastModified);
public System.Collections.Generic.IList<Microsoft.EnterpriseManagement.Monitoring.MonitoringAlert> GetMonitoringAlerts (Microsoft.EnterpriseManagement.Monitoring.MonitoringAlertCriteria criteria, DateTime? lastModified);
abstract member GetMonitoringAlerts : Microsoft.EnterpriseManagement.Monitoring.MonitoringAlertCriteria * Nullable<DateTime> -> System.Collections.Generic.IList<Microsoft.EnterpriseManagement.Monitoring.MonitoringAlert>
Public Function GetMonitoringAlerts (criteria As MonitoringAlertCriteria, lastModified As Nullable(Of DateTime)) As IList(Of MonitoringAlert)

Parameters

criteria
MonitoringAlertCriteria

The criteria to scope the method by.

lastModified
Nullable<DateTime>

The time the alerts should have changed since.

Returns

IList<MonitoringAlert>

A collection of fully populated MonitoringAlert objects.

Applies to

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

Retrieves all the MonitoringAlert objects in the management group.

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

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

IList<MonitoringAlert>

A collection of fully populated MonitoringAlert objects.

Applies to

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

Gets alerts for an instance.

public:
 System::Collections::Generic::IList<Microsoft::EnterpriseManagement::Monitoring::MonitoringAlert ^> ^ GetMonitoringAlerts(Guid instanceId, Microsoft::EnterpriseManagement::Monitoring::MonitoringAlertCriteria ^ criteria, Microsoft::EnterpriseManagement::Common::TraversalDepth traversalDepth, Nullable<DateTime> lastModified);
public System.Collections.Generic.IList<Microsoft.EnterpriseManagement.Monitoring.MonitoringAlert> GetMonitoringAlerts (Guid instanceId, Microsoft.EnterpriseManagement.Monitoring.MonitoringAlertCriteria criteria, Microsoft.EnterpriseManagement.Common.TraversalDepth traversalDepth, DateTime? lastModified);
abstract member GetMonitoringAlerts : Guid * Microsoft.EnterpriseManagement.Monitoring.MonitoringAlertCriteria * Microsoft.EnterpriseManagement.Common.TraversalDepth * Nullable<DateTime> -> System.Collections.Generic.IList<Microsoft.EnterpriseManagement.Monitoring.MonitoringAlert>
Public Function GetMonitoringAlerts (instanceId As Guid, criteria As MonitoringAlertCriteria, traversalDepth As TraversalDepth, lastModified As Nullable(Of DateTime)) As IList(Of MonitoringAlert)

Parameters

instanceId
Guid
traversalDepth
TraversalDepth
lastModified
Nullable<DateTime>

Returns

IList<MonitoringAlert>

The alerts for the instance.

Applies to

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

Gets alerts for an instance.

public:
 System::Collections::Generic::IList<Microsoft::EnterpriseManagement::Monitoring::MonitoringAlert ^> ^ GetMonitoringAlerts(Guid instanceId, Microsoft::EnterpriseManagement::Monitoring::MonitoringAlertCriteria ^ criteria, Microsoft::EnterpriseManagement::Configuration::ManagementPackClass ^ managementPackClass, Microsoft::EnterpriseManagement::Common::TraversalDepth traversalDepth, Nullable<DateTime> lastModified);
public System.Collections.Generic.IList<Microsoft.EnterpriseManagement.Monitoring.MonitoringAlert> GetMonitoringAlerts (Guid instanceId, Microsoft.EnterpriseManagement.Monitoring.MonitoringAlertCriteria criteria, Microsoft.EnterpriseManagement.Configuration.ManagementPackClass managementPackClass, Microsoft.EnterpriseManagement.Common.TraversalDepth traversalDepth, DateTime? lastModified);
abstract member GetMonitoringAlerts : Guid * Microsoft.EnterpriseManagement.Monitoring.MonitoringAlertCriteria * Microsoft.EnterpriseManagement.Configuration.ManagementPackClass * Microsoft.EnterpriseManagement.Common.TraversalDepth * Nullable<DateTime> -> System.Collections.Generic.IList<Microsoft.EnterpriseManagement.Monitoring.MonitoringAlert>
Public Function GetMonitoringAlerts (instanceId As Guid, criteria As MonitoringAlertCriteria, managementPackClass As ManagementPackClass, traversalDepth As TraversalDepth, lastModified As Nullable(Of DateTime)) As IList(Of MonitoringAlert)

Parameters

instanceId
Guid
managementPackClass
ManagementPackClass
traversalDepth
TraversalDepth
lastModified
Nullable<DateTime>

Returns

IList<MonitoringAlert>

The alerts for the instance.

Applies to