Share via


ManagementGroup.GetRootMonitoringObjects Method

Definition

Caution

Please use EntityObjects.GetRootObjects()

Returns the root monitoring objects based on the current users security scope.

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

Returns

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

Attributes

Applies to