PartialMonitoringObjectBase.GetMonitoringAlerts Method

Definition

Gets monitoring alert objects that are related to this monitoring object.

Overloads

GetMonitoringAlerts(MonitoringAlertCriteria, DateTime)

Retrieves all the MonitoringAlert objects related to this PartialMonitoringObject.

GetMonitoringAlerts(MonitoringAlertCriteria, ManagementPackClass, TraversalDepth, DateTime)

Retrieves all the MonitoringAlert objects related to this PartialMonitoringObject.

GetMonitoringAlerts(MonitoringAlertCriteria, ManagementPackClass, DateTime)

Retrieves all the MonitoringAlert objects related to this PartialMonitoringObject.

GetMonitoringAlerts(MonitoringAlertCriteria, ManagementPackClass, TraversalDepth)

Gets all the monitoring alert objects that are related to this monitoring object and that meet the specified criteria.

GetMonitoringAlerts(MonitoringAlertCriteria, TraversalDepth, DateTime)

Retrieves all the MonitoringAlert objects related to this PartialMonitoringObject.

GetMonitoringAlerts(ManagementPackClass, TraversalDepth, DateTime)

Retrieves all the MonitoringAlert objects related to this PartialMonitoringObject.

GetMonitoringAlerts(MonitoringAlertCriteria, TraversalDepth)

Retrieves all the MonitoringAlert objects related to this PartialMonitoringObject.

GetMonitoringAlerts(MonitoringAlertCriteria, ManagementPackClass)

Retrieves all the MonitoringAlert objects related to this PartialMonitoringObject.

GetMonitoringAlerts(ManagementPackClass, TraversalDepth)

Retrieves all the MonitoringAlert objects related to this PartialMonitoringObject.

GetMonitoringAlerts(TraversalDepth, DateTime)

Retrieves all the MonitoringAlert objects related to this PartialMonitoringObject.

GetMonitoringAlerts(DateTime)

Retrieves all the MonitoringAlert objects related to this PartialMonitoringObject.

GetMonitoringAlerts(MonitoringAlertCriteria)

Retrieves all the MonitoringAlert objects related to this PartialMonitoringObject.

GetMonitoringAlerts(ManagementPackClass)

Retrieves all the MonitoringAlert objects related to this PartialMonitoringObject.

GetMonitoringAlerts(TraversalDepth)

Retrieves all the MonitoringAlert objects related to this PartialMonitoringObject.

GetMonitoringAlerts()

Retrieves all the MonitoringAlert objects related to this PartialMonitoringObject.

GetMonitoringAlerts(ManagementPackClass, DateTime)

Retrieves all the MonitoringAlert objects related to this PartialMonitoringObject.

GetMonitoringAlerts(MonitoringAlertCriteria, DateTime)

Retrieves all the MonitoringAlert objects related to this PartialMonitoringObject.

public:
 System::Collections::ObjectModel::ReadOnlyCollection<Microsoft::EnterpriseManagement::Monitoring::MonitoringAlert ^> ^ GetMonitoringAlerts(Microsoft::EnterpriseManagement::Monitoring::MonitoringAlertCriteria ^ criteria, DateTime lastModified);
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

Only alerts that have changed since this specified date and time are returned.

Returns

A collection of fully populated alert objects.

Applies to

GetMonitoringAlerts(MonitoringAlertCriteria, ManagementPackClass, TraversalDepth, DateTime)

Retrieves all the MonitoringAlert objects related to this PartialMonitoringObject.

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

Parameters

criteria
MonitoringAlertCriteria

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.

lastModified
DateTime

The last modified time.

Returns

A collection of fully populated alert objects.

Applies to

GetMonitoringAlerts(MonitoringAlertCriteria, ManagementPackClass, DateTime)

Retrieves all the MonitoringAlert objects related to this PartialMonitoringObject.

public:
 System::Collections::ObjectModel::ReadOnlyCollection<Microsoft::EnterpriseManagement::Monitoring::MonitoringAlert ^> ^ GetMonitoringAlerts(Microsoft::EnterpriseManagement::Monitoring::MonitoringAlertCriteria ^ criteria, Microsoft::EnterpriseManagement::Configuration::ManagementPackClass ^ managementPackClass, DateTime lastModified);
public System.Collections.ObjectModel.ReadOnlyCollection<Microsoft.EnterpriseManagement.Monitoring.MonitoringAlert> GetMonitoringAlerts (Microsoft.EnterpriseManagement.Monitoring.MonitoringAlertCriteria criteria, Microsoft.EnterpriseManagement.Configuration.ManagementPackClass managementPackClass, DateTime lastModified);
member this.GetMonitoringAlerts : Microsoft.EnterpriseManagement.Monitoring.MonitoringAlertCriteria * Microsoft.EnterpriseManagement.Configuration.ManagementPackClass * DateTime -> System.Collections.ObjectModel.ReadOnlyCollection<Microsoft.EnterpriseManagement.Monitoring.MonitoringAlert>
Public Function GetMonitoringAlerts (criteria As MonitoringAlertCriteria, managementPackClass As ManagementPackClass, lastModified As DateTime) As ReadOnlyCollection(Of MonitoringAlert)

Parameters

criteria
MonitoringAlertCriteria

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

managementPackClass
ManagementPackClass

The class to scope by.

lastModified
DateTime

The last modified time.

Returns

A collection of fully populated alert objects.

Applies to

GetMonitoringAlerts(MonitoringAlertCriteria, ManagementPackClass, TraversalDepth)

Gets all the monitoring alert objects that are related to this monitoring object and that meet the specified criteria.

public:
 System::Collections::ObjectModel::ReadOnlyCollection<Microsoft::EnterpriseManagement::Monitoring::MonitoringAlert ^> ^ GetMonitoringAlerts(Microsoft::EnterpriseManagement::Monitoring::MonitoringAlertCriteria ^ criteria, Microsoft::EnterpriseManagement::Configuration::ManagementPackClass ^ managementPackClass, Microsoft::EnterpriseManagement::Common::TraversalDepth traversalDepth);
public System.Collections.ObjectModel.ReadOnlyCollection<Microsoft.EnterpriseManagement.Monitoring.MonitoringAlert> GetMonitoringAlerts (Microsoft.EnterpriseManagement.Monitoring.MonitoringAlertCriteria criteria, Microsoft.EnterpriseManagement.Configuration.ManagementPackClass managementPackClass, Microsoft.EnterpriseManagement.Common.TraversalDepth traversalDepth);
member this.GetMonitoringAlerts : Microsoft.EnterpriseManagement.Monitoring.MonitoringAlertCriteria * Microsoft.EnterpriseManagement.Configuration.ManagementPackClass * Microsoft.EnterpriseManagement.Common.TraversalDepth -> System.Collections.ObjectModel.ReadOnlyCollection<Microsoft.EnterpriseManagement.Monitoring.MonitoringAlert>
Public Function GetMonitoringAlerts (criteria As MonitoringAlertCriteria, managementPackClass As ManagementPackClass, traversalDepth As TraversalDepth) As ReadOnlyCollection(Of MonitoringAlert)

Parameters

criteria
MonitoringAlertCriteria

The criteria that filters the returned alerts. For information about the criteria syntax, see Operations Manager Data Queries Overview.

managementPackClass
ManagementPackClass

Only alerts that are related to this monitoring class are returned.

traversalDepth
TraversalDepth

A value that specifies the scope of the returned results. A value of OneLevel includes only instances of the specified class in the scope of the returned results. A value of Recursive includes instances of the specified class and all instances that are contained by those instances.

Returns

Returns a ReadOnlyCollection<T> of MonitoringAlert objects.

Applies to

GetMonitoringAlerts(MonitoringAlertCriteria, TraversalDepth, DateTime)

Retrieves all the MonitoringAlert objects related to this PartialMonitoringObject.

public:
 System::Collections::ObjectModel::ReadOnlyCollection<Microsoft::EnterpriseManagement::Monitoring::MonitoringAlert ^> ^ GetMonitoringAlerts(Microsoft::EnterpriseManagement::Monitoring::MonitoringAlertCriteria ^ criteria, Microsoft::EnterpriseManagement::Common::TraversalDepth traversalDepth, DateTime lastModified);
public System.Collections.ObjectModel.ReadOnlyCollection<Microsoft.EnterpriseManagement.Monitoring.MonitoringAlert> GetMonitoringAlerts (Microsoft.EnterpriseManagement.Monitoring.MonitoringAlertCriteria criteria, Microsoft.EnterpriseManagement.Common.TraversalDepth traversalDepth, DateTime lastModified);
member this.GetMonitoringAlerts : Microsoft.EnterpriseManagement.Monitoring.MonitoringAlertCriteria * Microsoft.EnterpriseManagement.Common.TraversalDepth * DateTime -> System.Collections.ObjectModel.ReadOnlyCollection<Microsoft.EnterpriseManagement.Monitoring.MonitoringAlert>
Public Function GetMonitoringAlerts (criteria As MonitoringAlertCriteria, traversalDepth As TraversalDepth, lastModified As DateTime) As ReadOnlyCollection(Of MonitoringAlert)

Parameters

criteria
MonitoringAlertCriteria

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

traversalDepth
TraversalDepth

Whether to return alerts from entities contained by this entity as well.

lastModified
DateTime

Only alerts that have changed since this specified date and time are returned.

Returns

A collection of fully populated alert objects.

Applies to

GetMonitoringAlerts(ManagementPackClass, TraversalDepth, DateTime)

Retrieves all the MonitoringAlert objects related to this PartialMonitoringObject.

public:
 System::Collections::ObjectModel::ReadOnlyCollection<Microsoft::EnterpriseManagement::Monitoring::MonitoringAlert ^> ^ GetMonitoringAlerts(Microsoft::EnterpriseManagement::Configuration::ManagementPackClass ^ managementPackClass, Microsoft::EnterpriseManagement::Common::TraversalDepth traversalDepth, DateTime lastModified);
public System.Collections.ObjectModel.ReadOnlyCollection<Microsoft.EnterpriseManagement.Monitoring.MonitoringAlert> GetMonitoringAlerts (Microsoft.EnterpriseManagement.Configuration.ManagementPackClass managementPackClass, Microsoft.EnterpriseManagement.Common.TraversalDepth traversalDepth, DateTime lastModified);
member this.GetMonitoringAlerts : Microsoft.EnterpriseManagement.Configuration.ManagementPackClass * Microsoft.EnterpriseManagement.Common.TraversalDepth * DateTime -> System.Collections.ObjectModel.ReadOnlyCollection<Microsoft.EnterpriseManagement.Monitoring.MonitoringAlert>
Public Function GetMonitoringAlerts (managementPackClass As ManagementPackClass, traversalDepth As TraversalDepth, lastModified As DateTime) As ReadOnlyCollection(Of MonitoringAlert)

Parameters

managementPackClass
ManagementPackClass

The class to scope by.

traversalDepth
TraversalDepth

Whether to include instance that are contained by instances of the class.

lastModified
DateTime

The last modified time.

Returns

A collection of fully populated alert objects.

Applies to

GetMonitoringAlerts(MonitoringAlertCriteria, TraversalDepth)

Retrieves all the MonitoringAlert objects related to this PartialMonitoringObject.

public:
 System::Collections::ObjectModel::ReadOnlyCollection<Microsoft::EnterpriseManagement::Monitoring::MonitoringAlert ^> ^ GetMonitoringAlerts(Microsoft::EnterpriseManagement::Monitoring::MonitoringAlertCriteria ^ criteria, Microsoft::EnterpriseManagement::Common::TraversalDepth traversalDepth);
public System.Collections.ObjectModel.ReadOnlyCollection<Microsoft.EnterpriseManagement.Monitoring.MonitoringAlert> GetMonitoringAlerts (Microsoft.EnterpriseManagement.Monitoring.MonitoringAlertCriteria criteria, Microsoft.EnterpriseManagement.Common.TraversalDepth traversalDepth);
member this.GetMonitoringAlerts : Microsoft.EnterpriseManagement.Monitoring.MonitoringAlertCriteria * Microsoft.EnterpriseManagement.Common.TraversalDepth -> System.Collections.ObjectModel.ReadOnlyCollection<Microsoft.EnterpriseManagement.Monitoring.MonitoringAlert>
Public Function GetMonitoringAlerts (criteria As MonitoringAlertCriteria, traversalDepth As TraversalDepth) As ReadOnlyCollection(Of MonitoringAlert)

Parameters

criteria
MonitoringAlertCriteria

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

traversalDepth
TraversalDepth

Whether to return alerts from entities contained by this entity as well.

Returns

A collection of fully populated alert objects.

Applies to

GetMonitoringAlerts(MonitoringAlertCriteria, ManagementPackClass)

Retrieves all the MonitoringAlert objects related to this PartialMonitoringObject.

public:
 System::Collections::ObjectModel::ReadOnlyCollection<Microsoft::EnterpriseManagement::Monitoring::MonitoringAlert ^> ^ GetMonitoringAlerts(Microsoft::EnterpriseManagement::Monitoring::MonitoringAlertCriteria ^ criteria, Microsoft::EnterpriseManagement::Configuration::ManagementPackClass ^ managementPackClass);
public System.Collections.ObjectModel.ReadOnlyCollection<Microsoft.EnterpriseManagement.Monitoring.MonitoringAlert> GetMonitoringAlerts (Microsoft.EnterpriseManagement.Monitoring.MonitoringAlertCriteria criteria, Microsoft.EnterpriseManagement.Configuration.ManagementPackClass managementPackClass);
member this.GetMonitoringAlerts : Microsoft.EnterpriseManagement.Monitoring.MonitoringAlertCriteria * Microsoft.EnterpriseManagement.Configuration.ManagementPackClass -> System.Collections.ObjectModel.ReadOnlyCollection<Microsoft.EnterpriseManagement.Monitoring.MonitoringAlert>
Public Function GetMonitoringAlerts (criteria As MonitoringAlertCriteria, managementPackClass As ManagementPackClass) As ReadOnlyCollection(Of MonitoringAlert)

Parameters

criteria
MonitoringAlertCriteria

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

managementPackClass
ManagementPackClass

The class to scope by.

Returns

A collection of fully populated alert objects.

Applies to

GetMonitoringAlerts(ManagementPackClass, TraversalDepth)

Retrieves all the MonitoringAlert objects related to this PartialMonitoringObject.

public:
 System::Collections::ObjectModel::ReadOnlyCollection<Microsoft::EnterpriseManagement::Monitoring::MonitoringAlert ^> ^ GetMonitoringAlerts(Microsoft::EnterpriseManagement::Configuration::ManagementPackClass ^ managementPackClass, Microsoft::EnterpriseManagement::Common::TraversalDepth traversalDepth);
public System.Collections.ObjectModel.ReadOnlyCollection<Microsoft.EnterpriseManagement.Monitoring.MonitoringAlert> GetMonitoringAlerts (Microsoft.EnterpriseManagement.Configuration.ManagementPackClass managementPackClass, Microsoft.EnterpriseManagement.Common.TraversalDepth traversalDepth);
member this.GetMonitoringAlerts : Microsoft.EnterpriseManagement.Configuration.ManagementPackClass * Microsoft.EnterpriseManagement.Common.TraversalDepth -> System.Collections.ObjectModel.ReadOnlyCollection<Microsoft.EnterpriseManagement.Monitoring.MonitoringAlert>
Public Function GetMonitoringAlerts (managementPackClass As ManagementPackClass, traversalDepth As TraversalDepth) As ReadOnlyCollection(Of MonitoringAlert)

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

Applies to

GetMonitoringAlerts(TraversalDepth, DateTime)

Retrieves all the MonitoringAlert objects related to this PartialMonitoringObject.

public:
 System::Collections::ObjectModel::ReadOnlyCollection<Microsoft::EnterpriseManagement::Monitoring::MonitoringAlert ^> ^ GetMonitoringAlerts(Microsoft::EnterpriseManagement::Common::TraversalDepth traversalDepth, DateTime lastModified);
public System.Collections.ObjectModel.ReadOnlyCollection<Microsoft.EnterpriseManagement.Monitoring.MonitoringAlert> GetMonitoringAlerts (Microsoft.EnterpriseManagement.Common.TraversalDepth traversalDepth, DateTime lastModified);
member this.GetMonitoringAlerts : Microsoft.EnterpriseManagement.Common.TraversalDepth * DateTime -> System.Collections.ObjectModel.ReadOnlyCollection<Microsoft.EnterpriseManagement.Monitoring.MonitoringAlert>
Public Function GetMonitoringAlerts (traversalDepth As TraversalDepth, lastModified As DateTime) As ReadOnlyCollection(Of MonitoringAlert)

Parameters

traversalDepth
TraversalDepth

Whether to return alerts from entities contained by this entity as well.

lastModified
DateTime

Only alerts that have changed since this specified date and time are returned.

Returns

A collection of fully populated alert objects.

Applies to

GetMonitoringAlerts(DateTime)

Retrieves all the MonitoringAlert objects related to this PartialMonitoringObject.

public:
 System::Collections::ObjectModel::ReadOnlyCollection<Microsoft::EnterpriseManagement::Monitoring::MonitoringAlert ^> ^ GetMonitoringAlerts(DateTime lastModified);
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

Only alerts that have changed since this specified date and time are returned.

Returns

A collection of fully populated alert objects.

Applies to

GetMonitoringAlerts(MonitoringAlertCriteria)

Retrieves all the MonitoringAlert objects related to this PartialMonitoringObject.

public:
 System::Collections::ObjectModel::ReadOnlyCollection<Microsoft::EnterpriseManagement::Monitoring::MonitoringAlert ^> ^ GetMonitoringAlerts(Microsoft::EnterpriseManagement::Monitoring::MonitoringAlertCriteria ^ criteria);
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 alert objects.

Applies to

GetMonitoringAlerts(ManagementPackClass)

Retrieves all the MonitoringAlert objects related to this PartialMonitoringObject.

public:
 System::Collections::ObjectModel::ReadOnlyCollection<Microsoft::EnterpriseManagement::Monitoring::MonitoringAlert ^> ^ GetMonitoringAlerts(Microsoft::EnterpriseManagement::Configuration::ManagementPackClass ^ managementPackClass);
public System.Collections.ObjectModel.ReadOnlyCollection<Microsoft.EnterpriseManagement.Monitoring.MonitoringAlert> GetMonitoringAlerts (Microsoft.EnterpriseManagement.Configuration.ManagementPackClass managementPackClass);
member this.GetMonitoringAlerts : Microsoft.EnterpriseManagement.Configuration.ManagementPackClass -> System.Collections.ObjectModel.ReadOnlyCollection<Microsoft.EnterpriseManagement.Monitoring.MonitoringAlert>
Public Function GetMonitoringAlerts (managementPackClass As ManagementPackClass) As ReadOnlyCollection(Of MonitoringAlert)

Parameters

managementPackClass
ManagementPackClass

The class to scope by.

Returns

A collection of fully populated alert objects.

Applies to

GetMonitoringAlerts(TraversalDepth)

Retrieves all the MonitoringAlert objects related to this PartialMonitoringObject.

public:
 System::Collections::ObjectModel::ReadOnlyCollection<Microsoft::EnterpriseManagement::Monitoring::MonitoringAlert ^> ^ GetMonitoringAlerts(Microsoft::EnterpriseManagement::Common::TraversalDepth traversalDepth);
public System.Collections.ObjectModel.ReadOnlyCollection<Microsoft.EnterpriseManagement.Monitoring.MonitoringAlert> GetMonitoringAlerts (Microsoft.EnterpriseManagement.Common.TraversalDepth traversalDepth);
member this.GetMonitoringAlerts : Microsoft.EnterpriseManagement.Common.TraversalDepth -> System.Collections.ObjectModel.ReadOnlyCollection<Microsoft.EnterpriseManagement.Monitoring.MonitoringAlert>
Public Function GetMonitoringAlerts (traversalDepth As TraversalDepth) As ReadOnlyCollection(Of MonitoringAlert)

Parameters

traversalDepth
TraversalDepth

Whether to return alerts from entities contained by this entity as well.

Returns

A collection of fully populated alert objects.

Applies to

GetMonitoringAlerts()

Retrieves all the MonitoringAlert objects related to this PartialMonitoringObject.

public:
 System::Collections::ObjectModel::ReadOnlyCollection<Microsoft::EnterpriseManagement::Monitoring::MonitoringAlert ^> ^ GetMonitoringAlerts();
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 alert objects.

Applies to

GetMonitoringAlerts(ManagementPackClass, DateTime)

Retrieves all the MonitoringAlert objects related to this PartialMonitoringObject.

public:
 System::Collections::ObjectModel::ReadOnlyCollection<Microsoft::EnterpriseManagement::Monitoring::MonitoringAlert ^> ^ GetMonitoringAlerts(Microsoft::EnterpriseManagement::Configuration::ManagementPackClass ^ managementPackClass, DateTime lastModified);
public System.Collections.ObjectModel.ReadOnlyCollection<Microsoft.EnterpriseManagement.Monitoring.MonitoringAlert> GetMonitoringAlerts (Microsoft.EnterpriseManagement.Configuration.ManagementPackClass managementPackClass, DateTime lastModified);
member this.GetMonitoringAlerts : Microsoft.EnterpriseManagement.Configuration.ManagementPackClass * DateTime -> System.Collections.ObjectModel.ReadOnlyCollection<Microsoft.EnterpriseManagement.Monitoring.MonitoringAlert>
Public Function GetMonitoringAlerts (managementPackClass As ManagementPackClass, lastModified As DateTime) As ReadOnlyCollection(Of MonitoringAlert)

Parameters

managementPackClass
ManagementPackClass

The class to scope by.

lastModified
DateTime

The last modified time.

Returns

A collection of fully populated alert objects.

Applies to