MonitoringObjectGroup.GetChildMonitoringObjectGroups Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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