Compartilhar via


ManagementGroup.GetRootMonitoringObjects Method ()

 

Applies To: Operations Manager for System Center 2012

Note: This API is now obsolete.

Retrieves a collection of all root monitoring objects that are based on the current user's security scope.

Namespace:   Microsoft.EnterpriseManagement
Assembly:  Microsoft.EnterpriseManagement.OperationsManager (in Microsoft.EnterpriseManagement.OperationsManager.dll)

Syntax

[ObsoleteAttribute("Please use EntityObjects.GetRootObjects()")]
public ReadOnlyCollection<MonitoringObject> GetRootMonitoringObjects()
public:
[ObsoleteAttribute("Please use EntityObjects.GetRootObjects()")]
ReadOnlyCollection<MonitoringObject^>^ GetRootMonitoringObjects()
[<ObsoleteAttribute("Please use EntityObjects.GetRootObjects()")>]
member GetRootMonitoringObjects : unit -> ReadOnlyCollection<MonitoringObject>
<ObsoleteAttribute("Please use EntityObjects.GetRootObjects()")>
Public Function GetRootMonitoringObjects As ReadOnlyCollection(Of MonitoringObject)

Return Value

Type: System.Collections.ObjectModel.ReadOnlyCollection<MonitoringObject>

Returns aReadOnlyCollection<T> object ofMonitoringObject objects.

See Also

ManagementGroup Class
Microsoft.EnterpriseManagement Namespace

Return to top