title | keywords | f1_keywords | ms.service | api_name | ms.assetid | ms.date | ms.localizationpriority | ||
---|---|---|---|---|---|---|---|---|---|
Application.GroupMaintainHierarchy method (Project) |
vbapj.chm2296 |
|
project-server |
|
63f5763a-0ca3-d25b-06ac-03e52cdcf6e2 |
06/08/2017 |
medium |
Shows or hides item hierarchy in task views or resource views where a group is applied.
expression. GroupMaintainHierarchy
( _On_
)
expression An expression that returns an Application object.
Name | Required/Optional | Data type | Description |
---|---|---|---|
On | Required | Boolean | True if hierarchy in the current group is maintained. False if hierarchy is not maintained. |
Boolean
The GroupMaintainHierarchy method corresponds to the following command on the ribbon: On the View tab, click the Group by drop-down list in the Data group, and then click Maintain Hierarchy in Current Group.
For example, if tasks are grouped by the Critical group, the GroupMaintainHierarchy True
command shows the summary tasks in the Critical: No and Critical: Yes groups. The GroupMaintainHierarchy False
command hides summary tasks in the groups. If no group is applied to the view, GroupMaintainHierarchy has no effect.
[!includeSupport and feedback]