Share via


ManagementGroup.GetMonitoringAlerts Method

Definition

Retrieves a collection of monitoring alerts from the management group.

Overloads

GetMonitoringAlerts(MonitoringAlertCriteria, DateTime)
Obsolete.

Retrieves all the MonitoringAlert objects in the management group.

GetMonitoringAlerts(MonitoringAlertCriteria, MonitoringClass, TraversalDepth, DateTime)
Obsolete.

Retrieves all the MonitoringAlert objects in the management group.

GetMonitoringAlerts(MonitoringAlertCriteria, MonitoringClass, DateTime)
Obsolete.

Retrieves all the MonitoringAlert objects in the management group.

GetMonitoringAlerts(MonitoringAlertCriteria, MonitoringClass, TraversalDepth)
Obsolete.

Retrieves all the MonitoringAlert objects in the management group.

GetMonitoringAlerts(MonitoringClass, TraversalDepth, DateTime)
Obsolete.

Retrieves all the MonitoringAlert objects in the management group.

GetMonitoringAlerts(MonitoringAlertCriteria, MonitoringClass)
Obsolete.

Retrieves all the MonitoringAlert objects in the management group.

GetMonitoringAlerts(MonitoringClass, DateTime)
Obsolete.

Retrieves all the MonitoringAlert objects in the management group.

GetMonitoringAlerts(MonitoringClass, TraversalDepth)
Obsolete.

Retrieves all the MonitoringAlert objects in the management group.

GetMonitoringAlerts(DateTime)
Obsolete.
Obsolete.

Retrieves all the MonitoringAlert objects in the management group.

GetMonitoringAlerts(MonitoringAlertCriteria)
Obsolete.

Retrieves all the MonitoringAlert objects in the management group.

GetMonitoringAlerts(MonitoringClass)
Obsolete.

Retrieves all the MonitoringAlert objects in the management group.

GetMonitoringAlerts()
Obsolete.
Obsolete.

Retrieves all the MonitoringAlert objects in the management group.

GetMonitoringAlerts(MonitoringAlertCriteria, DateTime)

Caution

Please use OperationalData.GetMonitoringAlerts()

Retrieves all the MonitoringAlert objects in the management group.

public:
 System::Collections::ObjectModel::ReadOnlyCollection<Microsoft::EnterpriseManagement::Monitoring::MonitoringAlert ^> ^ GetMonitoringAlerts(Microsoft::EnterpriseManagement::Monitoring::MonitoringAlertCriteria ^ criteria, DateTime lastModified);
[System.Obsolete("Please use OperationalData.GetMonitoringAlerts()")]
public System.Collections.ObjectModel.ReadOnlyCollection<Microsoft.EnterpriseManagement.Monitoring.MonitoringAlert> GetMonitoringAlerts (Microsoft.EnterpriseManagement.Monitoring.MonitoringAlertCriteria criteria, DateTime lastModified);
member this.GetMonitoringAlerts : Microsoft.EnterpriseManagement.Monitoring.MonitoringAlertCriteria * DateTime -> System.Collections.ObjectModel.ReadOnlyCollection<Microsoft.EnterpriseManagement.Monitoring.MonitoringAlert>
Public Function GetMonitoringAlerts (criteria As MonitoringAlertCriteria, lastModified As DateTime) As ReadOnlyCollection(Of MonitoringAlert)

Parameters

criteria
MonitoringAlertCriteria

The criteria to scope the method by.

lastModified
DateTime

The time the alerts should have changed since.

Returns

A collection of fully populated MonitoringAlert objects.

Attributes

Applies to

GetMonitoringAlerts(MonitoringAlertCriteria, MonitoringClass, TraversalDepth, DateTime)

Caution

Please use OperationalData.GetMonitoringAlerts()

Retrieves all the MonitoringAlert objects in the management group.

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

Parameters

criteria
MonitoringAlertCriteria

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.

lastModified
DateTime

Scope alerts to changed since this time

Returns

A collection of fully populated MonitoringAlert objects.

Attributes

Applies to

GetMonitoringAlerts(MonitoringAlertCriteria, MonitoringClass, DateTime)

Caution

Please use OperationalData.GetMonitoringAlerts()

Retrieves all the MonitoringAlert objects in the management group.

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

Parameters

criteria
MonitoringAlertCriteria

The criteria to scope the method by.

monitoringClass
MonitoringClass

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

lastModified
DateTime

Scope alerts to changed since this time

Returns

A collection of fully populated MonitoringAlert objects.

Attributes

Applies to

GetMonitoringAlerts(MonitoringAlertCriteria, MonitoringClass, TraversalDepth)

Caution

Please use OperationalData.GetMonitoringAlerts()

Retrieves all the MonitoringAlert objects in the management group.

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

Parameters

criteria
MonitoringAlertCriteria

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 MonitoringAlert objects.

Attributes

Applies to

GetMonitoringAlerts(MonitoringClass, TraversalDepth, DateTime)

Caution

Please use OperationalData.GetMonitoringAlerts()

Retrieves all the MonitoringAlert objects in the management group.

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

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.

lastModified
DateTime

Scope alerts to changed since this time

Returns

A collection of fully populated MonitoringAlert objects.

Attributes

Applies to

GetMonitoringAlerts(MonitoringAlertCriteria, MonitoringClass)

Caution

Please use OperationalData.GetMonitoringAlerts()

Retrieves all the MonitoringAlert objects in the management group.

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

Parameters

criteria
MonitoringAlertCriteria

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 MonitoringAlert objects.

Attributes

Applies to

GetMonitoringAlerts(MonitoringClass, DateTime)

Caution

Please use OperationalData.GetMonitoringAlerts()

Retrieves all the MonitoringAlert objects in the management group.

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

Parameters

monitoringClass
MonitoringClass

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

lastModified
DateTime

Scope alerts to changed since this time

Returns

A collection of fully populated MonitoringAlert objects.

Attributes

Applies to

GetMonitoringAlerts(MonitoringClass, TraversalDepth)

Caution

Please use OperationalData.GetMonitoringAlerts()

Retrieves all the MonitoringAlert objects in the management group.

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

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 MonitoringAlert objects.

Attributes

Applies to

GetMonitoringAlerts(DateTime)

Caution

Please use OperationalData.GetMonitoringAlerts(MonitoringAlertCriteria.Empty)

Caution

Please use OperationalData.GetMonitoringAlerts(MonitoringAlertCriteria.Empty, DateTime)

Retrieves all the MonitoringAlert objects in the management group.

public:
 System::Collections::ObjectModel::ReadOnlyCollection<Microsoft::EnterpriseManagement::Monitoring::MonitoringAlert ^> ^ GetMonitoringAlerts(DateTime lastModified);
[System.Obsolete("Please use OperationalData.GetMonitoringAlerts(MonitoringAlertCriteria.Empty)")]
public System.Collections.ObjectModel.ReadOnlyCollection<Microsoft.EnterpriseManagement.Monitoring.MonitoringAlert> GetMonitoringAlerts (DateTime lastModified);
[System.Obsolete("Please use OperationalData.GetMonitoringAlerts(MonitoringAlertCriteria.Empty, DateTime)")]
public System.Collections.ObjectModel.ReadOnlyCollection<Microsoft.EnterpriseManagement.Monitoring.MonitoringAlert> GetMonitoringAlerts (DateTime lastModified);
member this.GetMonitoringAlerts : DateTime -> System.Collections.ObjectModel.ReadOnlyCollection<Microsoft.EnterpriseManagement.Monitoring.MonitoringAlert>
Public Function GetMonitoringAlerts (lastModified As DateTime) As ReadOnlyCollection(Of MonitoringAlert)

Parameters

lastModified
DateTime

The time the alerts should have changed since.

Returns

A collection of fully populated MonitoringAlert objects.

Attributes

Applies to

GetMonitoringAlerts(MonitoringAlertCriteria)

Caution

Please use OperationalData.GetMonitoringAlerts()

Retrieves all the MonitoringAlert objects in the management group.

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

Parameters

criteria
MonitoringAlertCriteria

The criteria to scope the method by.

Returns

A collection of fully populated MonitoringAlert objects.

Attributes

Examples

For an example of the GetMonitoringAlertsmethod, see How to Display Operations Manager Data

Applies to

GetMonitoringAlerts(MonitoringClass)

Caution

Please use OperationalData.GetMonitoringAlerts()

Retrieves all the MonitoringAlert objects in the management group.

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

Parameters

monitoringClass
MonitoringClass

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

Returns

A collection of fully populated MonitoringAlert objects.

Attributes

Applies to

GetMonitoringAlerts()

Caution

Please use OperationalData.GetMonitoringAlerts(MonitoringAlertCriteria.Empty)

Caution

Please use OperationalData.GetMonitoringAlerts(MonitoringAlertCriteria.Empty, null)

Retrieves all the MonitoringAlert objects in the management group.

public:
 System::Collections::ObjectModel::ReadOnlyCollection<Microsoft::EnterpriseManagement::Monitoring::MonitoringAlert ^> ^ GetMonitoringAlerts();
[System.Obsolete("Please use OperationalData.GetMonitoringAlerts(MonitoringAlertCriteria.Empty)")]
public System.Collections.ObjectModel.ReadOnlyCollection<Microsoft.EnterpriseManagement.Monitoring.MonitoringAlert> GetMonitoringAlerts ();
[System.Obsolete("Please use OperationalData.GetMonitoringAlerts(MonitoringAlertCriteria.Empty, null)")]
public System.Collections.ObjectModel.ReadOnlyCollection<Microsoft.EnterpriseManagement.Monitoring.MonitoringAlert> GetMonitoringAlerts ();
member this.GetMonitoringAlerts : unit -> System.Collections.ObjectModel.ReadOnlyCollection<Microsoft.EnterpriseManagement.Monitoring.MonitoringAlert>
Public Function GetMonitoringAlerts () As ReadOnlyCollection(Of MonitoringAlert)

Returns

A collection of fully populated MonitoringAlert objects.

Attributes

Applies to