Share via


MonitoringObjectGroup.GetChildMonitoringObjectGroups Method

Definition

Caution

Use ManagementGroup.EntityObjects.GetRelatedObjects<MonitoringObject>(ManagementPackClass - where this is the group type

Returns the sub monitoring object groups based of this monitoring object group.

public:
 System::Collections::ObjectModel::ReadOnlyCollection<Microsoft::EnterpriseManagement::Monitoring::MonitoringObjectGroup ^> ^ GetChildMonitoringObjectGroups();
[System.Obsolete("Use ManagementGroup.EntityObjects.GetRelatedObjects<MonitoringObject>(ManagementPackClass - where this is the group type")]
public System.Collections.ObjectModel.ReadOnlyCollection<Microsoft.EnterpriseManagement.Monitoring.MonitoringObjectGroup> GetChildMonitoringObjectGroups ();
member this.GetChildMonitoringObjectGroups : unit -> System.Collections.ObjectModel.ReadOnlyCollection<Microsoft.EnterpriseManagement.Monitoring.MonitoringObjectGroup>
Public Function GetChildMonitoringObjectGroups () As ReadOnlyCollection(Of MonitoringObjectGroup)

Returns

A new MonitoringObjectGroup collection containing the sub groups of this group.

Attributes

Applies to