This method returns the collection of management groups in a ManagementGroupCollectionClass Object object.
ManagementServiceConfigurationClass.GetManagementGroups()
Parameters
None.
Type | Description |
---|---|
Custom |
Returns a ManagementGroupCollectionClass Object object. |
Error number | Description |
---|---|
0x8007000E |
The application has run out of memory. |
For a scripting example, see How to Display Management Group Information.
Platforms: Requires Windows Vista, Windows Server 2003, or Windows Server 2008
Version: Requires System Center 2012 – Operations Manager