Group2 Object (Project)
Represents a group definition where the group hierarchy can be maintained. A Group2 object is a member of a Groups2, ResourceGroups2, or TaskGroups2 collection.
Version Information
Version Added: Project 2010
Remarks
The Group2 object includes the MaintainHierarchy property.
Using the Group Object
Use TaskGroups2(Index) or ResourceGroups2(Index), where Index is the group definition index or group definition name, to return a Group2 object.
Example
The following example ensures that the Standard Rate resource group displays summary task information.
ActiveProject.ResourceGroups2("Standard Rate").ShowSummary = True