ManagementGroup.GetRootMonitoringObjects 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
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