Share via


ManagementGroup.GetMonitoringClasses Method

Definition

Retrieves a collection of monitoring classes.

Overloads

GetMonitoringClasses()
Obsolete.

Retrieves all the classes defined in this management group.

GetMonitoringClasses(MonitoringClassCriteria)
Obsolete.

Gets MonitoringClasses based on criteria.

GetMonitoringClasses(ICollection<Guid>)
Obsolete.

Retrieves the monitoring classs in this management group.

GetMonitoringClasses(String)
Obsolete.

Retrieves a collection of classes defined in this management group by name.

GetMonitoringClasses()

Caution

Please use EntityTypes.GetMonitoringClasses()

Retrieves all the classes defined in this management group.

public:
 System::Collections::ObjectModel::ReadOnlyCollection<Microsoft::EnterpriseManagement::Configuration::MonitoringClass ^> ^ GetMonitoringClasses();
[System.Obsolete("Please use EntityTypes.GetMonitoringClasses()")]
public System.Collections.ObjectModel.ReadOnlyCollection<Microsoft.EnterpriseManagement.Configuration.MonitoringClass> GetMonitoringClasses ();
member this.GetMonitoringClasses : unit -> System.Collections.ObjectModel.ReadOnlyCollection<Microsoft.EnterpriseManagement.Configuration.MonitoringClass>
Public Function GetMonitoringClasses () As ReadOnlyCollection(Of MonitoringClass)

Returns

A collection of MonitoringClass objects.

Attributes

Applies to

GetMonitoringClasses(MonitoringClassCriteria)

Caution

Please use EntityTypes.GetMonitoringClasses()

Gets MonitoringClasses based on criteria.

public:
 System::Collections::ObjectModel::ReadOnlyCollection<Microsoft::EnterpriseManagement::Configuration::MonitoringClass ^> ^ GetMonitoringClasses(Microsoft::EnterpriseManagement::Configuration::MonitoringClassCriteria ^ criteria);
[System.Obsolete("Please use EntityTypes.GetMonitoringClasses()")]
public System.Collections.ObjectModel.ReadOnlyCollection<Microsoft.EnterpriseManagement.Configuration.MonitoringClass> GetMonitoringClasses (Microsoft.EnterpriseManagement.Configuration.MonitoringClassCriteria criteria);
member this.GetMonitoringClasses : Microsoft.EnterpriseManagement.Configuration.MonitoringClassCriteria -> System.Collections.ObjectModel.ReadOnlyCollection<Microsoft.EnterpriseManagement.Configuration.MonitoringClass>
Public Function GetMonitoringClasses (criteria As MonitoringClassCriteria) As ReadOnlyCollection(Of MonitoringClass)

Parameters

criteria
MonitoringClassCriteria

The criteria.

Returns

A collection of MonitoringClasses that match the criteria.

Attributes

Applies to

GetMonitoringClasses(ICollection<Guid>)

Caution

Please use EntityTypes.GetMonitoringClasses()

Retrieves the monitoring classs in this management group.

public:
 System::Collections::ObjectModel::ReadOnlyCollection<Microsoft::EnterpriseManagement::Configuration::MonitoringClass ^> ^ GetMonitoringClasses(System::Collections::Generic::ICollection<Guid> ^ ids);
[System.Obsolete("Please use EntityTypes.GetMonitoringClasses()")]
public System.Collections.ObjectModel.ReadOnlyCollection<Microsoft.EnterpriseManagement.Configuration.MonitoringClass> GetMonitoringClasses (System.Collections.Generic.ICollection<Guid> ids);
member this.GetMonitoringClasses : System.Collections.Generic.ICollection<Guid> -> System.Collections.ObjectModel.ReadOnlyCollection<Microsoft.EnterpriseManagement.Configuration.MonitoringClass>
Public Function GetMonitoringClasses (ids As ICollection(Of Guid)) As ReadOnlyCollection(Of MonitoringClass)

Parameters

ids
ICollection<Guid>

The ids of the classes.

Returns

The classes.

Attributes

Applies to

GetMonitoringClasses(String)

Caution

Don't use this overload. Either provide the Guid or Name and ManagementPack

Retrieves a collection of classes defined in this management group by name.

public:
 System::Collections::ObjectModel::ReadOnlyCollection<Microsoft::EnterpriseManagement::Configuration::MonitoringClass ^> ^ GetMonitoringClasses(System::String ^ className);
[System.Obsolete("Don't use this overload. Either provide the Guid or Name and ManagementPack")]
public System.Collections.ObjectModel.ReadOnlyCollection<Microsoft.EnterpriseManagement.Configuration.MonitoringClass> GetMonitoringClasses (string className);
member this.GetMonitoringClasses : string -> System.Collections.ObjectModel.ReadOnlyCollection<Microsoft.EnterpriseManagement.Configuration.MonitoringClass>
Public Function GetMonitoringClasses (className As String) As ReadOnlyCollection(Of MonitoringClass)

Parameters

className
String

The fully qualified class name.

Returns

An instantiated MonitoringClass collection.

Attributes

Exceptions

A MonitoringClass with that name was not found.

className is null.

className.Length is 0.

Applies to