Share via


ManagementGroup.GetRootMonitoringObjectGroups Method

Definition

Caution

Please use EntityObjects.GetRootObjectGroups()

Returns the root monitoring object groups based on the current users security scope.

public:
 System::Collections::ObjectModel::ReadOnlyCollection<Microsoft::EnterpriseManagement::Monitoring::MonitoringObjectGroup ^> ^ GetRootMonitoringObjectGroups();
[System.Obsolete("Please use EntityObjects.GetRootObjectGroups()")]
public System.Collections.ObjectModel.ReadOnlyCollection<Microsoft.EnterpriseManagement.Monitoring.MonitoringObjectGroup> GetRootMonitoringObjectGroups ();
member this.GetRootMonitoringObjectGroups : unit -> System.Collections.ObjectModel.ReadOnlyCollection<Microsoft.EnterpriseManagement.Monitoring.MonitoringObjectGroup>
Public Function GetRootMonitoringObjectGroups () As ReadOnlyCollection(Of MonitoringObjectGroup)

Returns

A new MonitoringObjectGroup collection containing the scoped root level monitoring objects.

Attributes

Applies to