Share via


ManagementGroup.GetRootMonitoringObjectsAccessibleForOverrides Method

Definition

Caution

Please use EntityObjects.GetRootObjectsAccessibleForOverrides<T>()

Returns the root monitoring objects as scoped for advanced operators.

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

Returns

A new MonitoringObject collection containing the scoped monitoring objects.

Attributes

Remarks

If the caller has root scope for monitoring objects, this method will return the equivalent of GetRootMonitoringObjectGroups().

Applies to