Partager via


GetManagementGroups Method

Applies To: System Center 2012 - Operations Manager

[This topic is pre-release documentation and is subject to change in future releases. Blank topics are included as placeholders.]

This method returns the collection of management groups in a ManagementGroupCollectionClass Object object.

ManagementServiceConfigurationClass.GetManagementGroups()

Parameters

None.

Return Value

Type Description

Custom

Returns a ManagementGroupCollectionClass Object object.

Errors

Error number Description

0x8007000E

The application has run out of memory.

Example

For a scripting example, see How to Display Management Group Information.

Requirements

Platforms: Requires Windows Vista, Windows Server 2003, or Windows Server 2008

Version: Requires System Center 2012 – Operations Manager

See Also

Reference

AddManagementGroup Method
GetManagementGroup Method
ManagementServiceConfigurationClass Object
RemoveManagementGroup Method