Share via


ManagementGroup.GetPartialMonitoringObjects Method

Definition

Retrieves monitoring objects of a single class and of any derived classes, allowing for abstract types to be specified.

Overloads

GetPartialMonitoringObjects(MonitoringClass)
Obsolete.

This method returns a collection of monitoring objects of a single type and any derived types, allowing for abstract types to be specified.

GetPartialMonitoringObjects(MonitoringObjectGenericCriteria)
Obsolete.

This method returns PartialMonitoringObjects by generic criteria

GetPartialMonitoringObjects(ICollection<Guid>)
Obsolete.

This method returns PartialMonitoringObject by ids

GetPartialMonitoringObjects(MonitoringObjectGenericCriteria, MonitoringClass)
Obsolete.

This method returns PartialMonitoringObjects by generic criteria

GetPartialMonitoringObjects(MonitoringClass)

Caution

Please use EntityObjects.GetObjects<PartialMonitoringObject>()

This method returns a collection of monitoring objects of a single type and any derived types, allowing for abstract types to be specified.

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

Parameters

monitoringClass
MonitoringClass

The class to scope monitoring objects by.

Returns

The managed collection.

Attributes

Exceptions

monitoringClass is null.

Applies to

GetPartialMonitoringObjects(MonitoringObjectGenericCriteria)

Caution

Please use EntityObjects.GetObjects<PartialMonitoringObject>()

This method returns PartialMonitoringObjects by generic criteria

public:
 System::Collections::ObjectModel::ReadOnlyCollection<Microsoft::EnterpriseManagement::Monitoring::PartialMonitoringObject ^> ^ GetPartialMonitoringObjects(Microsoft::EnterpriseManagement::Monitoring::MonitoringObjectGenericCriteria ^ criteria);
[System.Obsolete("Please use EntityObjects.GetObjects<PartialMonitoringObject>()")]
public System.Collections.ObjectModel.ReadOnlyCollection<Microsoft.EnterpriseManagement.Monitoring.PartialMonitoringObject> GetPartialMonitoringObjects (Microsoft.EnterpriseManagement.Monitoring.MonitoringObjectGenericCriteria criteria);
member this.GetPartialMonitoringObjects : Microsoft.EnterpriseManagement.Monitoring.MonitoringObjectGenericCriteria -> System.Collections.ObjectModel.ReadOnlyCollection<Microsoft.EnterpriseManagement.Monitoring.PartialMonitoringObject>
Public Function GetPartialMonitoringObjects (criteria As MonitoringObjectGenericCriteria) As ReadOnlyCollection(Of PartialMonitoringObject)

Parameters

criteria
MonitoringObjectGenericCriteria

The criteria.

Returns

A collection of PartialMonitoringObjects.

Attributes

Applies to

GetPartialMonitoringObjects(ICollection<Guid>)

Caution

Please use EntityObjects.GetObjects<PartialMonitoringObject>()

This method returns PartialMonitoringObject by ids

public:
 System::Collections::ObjectModel::ReadOnlyCollection<Microsoft::EnterpriseManagement::Monitoring::PartialMonitoringObject ^> ^ GetPartialMonitoringObjects(System::Collections::Generic::ICollection<Guid> ^ ids);
[System.Obsolete("Please use EntityObjects.GetObjects<PartialMonitoringObject>()")]
public System.Collections.ObjectModel.ReadOnlyCollection<Microsoft.EnterpriseManagement.Monitoring.PartialMonitoringObject> GetPartialMonitoringObjects (System.Collections.Generic.ICollection<Guid> ids);
member this.GetPartialMonitoringObjects : System.Collections.Generic.ICollection<Guid> -> System.Collections.ObjectModel.ReadOnlyCollection<Microsoft.EnterpriseManagement.Monitoring.PartialMonitoringObject>
Public Function GetPartialMonitoringObjects (ids As ICollection(Of Guid)) As ReadOnlyCollection(Of PartialMonitoringObject)

Parameters

ids
ICollection<Guid>

ids

Returns

A collection of PartialMonitoringObject.

Attributes

Applies to

GetPartialMonitoringObjects(MonitoringObjectGenericCriteria, MonitoringClass)

Caution

Please use EntityObjects.GetObjects<PartialMonitoringObject>()

This method returns PartialMonitoringObjects by generic criteria

public:
 System::Collections::ObjectModel::ReadOnlyCollection<Microsoft::EnterpriseManagement::Monitoring::PartialMonitoringObject ^> ^ GetPartialMonitoringObjects(Microsoft::EnterpriseManagement::Monitoring::MonitoringObjectGenericCriteria ^ criteria, Microsoft::EnterpriseManagement::Configuration::MonitoringClass ^ monitoringClass);
[System.Obsolete("Please use EntityObjects.GetObjects<PartialMonitoringObject>()")]
public System.Collections.ObjectModel.ReadOnlyCollection<Microsoft.EnterpriseManagement.Monitoring.PartialMonitoringObject> GetPartialMonitoringObjects (Microsoft.EnterpriseManagement.Monitoring.MonitoringObjectGenericCriteria criteria, Microsoft.EnterpriseManagement.Configuration.MonitoringClass monitoringClass);
member this.GetPartialMonitoringObjects : Microsoft.EnterpriseManagement.Monitoring.MonitoringObjectGenericCriteria * Microsoft.EnterpriseManagement.Configuration.MonitoringClass -> System.Collections.ObjectModel.ReadOnlyCollection<Microsoft.EnterpriseManagement.Monitoring.PartialMonitoringObject>
Public Function GetPartialMonitoringObjects (criteria As MonitoringObjectGenericCriteria, monitoringClass As MonitoringClass) As ReadOnlyCollection(Of PartialMonitoringObject)

Parameters

criteria
MonitoringObjectGenericCriteria

The criteria.

monitoringClass
MonitoringClass

The monitoring class.

Returns

A collection of MonitoringObjects.

Attributes

Applies to