Share via


IMonitoringInstancesManagement.GetRootObjectGroups<T> Method

Definition

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

public:
generic <typename T>
 where T : Microsoft::EnterpriseManagement::Common::EnterpriseManagementObject System::Collections::Generic::IList<T> ^ GetRootObjectGroups(Microsoft::EnterpriseManagement::Common::ObjectQueryOptions ^ queryOptions);
public System.Collections.Generic.IList<T> GetRootObjectGroups<T> (Microsoft.EnterpriseManagement.Common.ObjectQueryOptions queryOptions) where T : Microsoft.EnterpriseManagement.Common.EnterpriseManagementObject;
abstract member GetRootObjectGroups : Microsoft.EnterpriseManagement.Common.ObjectQueryOptions -> System.Collections.Generic.IList<'T (requires 'T :> Microsoft.EnterpriseManagement.Common.EnterpriseManagementObject)> (requires 'T :> Microsoft.EnterpriseManagement.Common.EnterpriseManagementObject)
Public Function GetRootObjectGroups(Of T As EnterpriseManagementObject) (queryOptions As ObjectQueryOptions) As IList(Of T)

Type Parameters

T

At least an EnterpriseManagementObject

Parameters

queryOptions
ObjectQueryOptions

The query options.

Returns

IList<T>

A new T collection containing the scoped root level object groups.

Applies to