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 Added: Project 2010

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.

The following example ensures that the Standard Rate resource group displays summary task information.

ActiveProject.ResourceGroups2("Standard Rate").ShowSummary = True
Show: