title | ms.service | api_name | ms.assetid | ms.date | ms.localizationpriority | |
---|---|---|---|---|---|---|
StartDriver.OverAllocatedAssignments property (Project) |
project-server |
|
bef55fa0-e721-27f6-aa3b-6314aeaef0fa |
06/08/2017 |
medium |
Gets overallocated assignments for a task start driver. Read-only OverAllocatedAssignments.
expression. OverAllocatedAssignments
( _fOverPeak_
)
expression An expression that returns a StartDriver object.
Name | Required/Optional | Data type | Description |
---|---|---|---|
overallocationType | Required | PjOverallocationType | Can be one of the PjOverallocationType constants, which determines the type of overallocation. |
Overallocated assignments are not possible on milestones, placeholder tasks, or tasks with no assignments.
The following command returns the number of overallocated assignments where resources are working on other tasks.
Debug.Print ActiveProject.Tasks(2).StartDriver.OverAllocatedAssignments(pjOverallocationTypeWorkingOnOtherTasks).Count
[!includeSupport and feedback]