StartDriver.OverAllocatedAssignments Property (Project)
Gets overallocated assignments for a task start driver. Read-only OverAllocatedAssignments.
Version Information
Version Added: Project 2010
Syntax
expression .OverAllocatedAssignments(fOverPeak)
expression An expression that returns a StartDriver object.
Parameters
Name |
Required/Optional |
Data Type |
Description |
---|---|---|---|
overallocationType |
Required |
PjOverallocationType |
Can be one of the PjOverallocationType constants, which determines the type of overallocation. |
Remarks
Overallocated assignments are not possible on milestones, placeholder tasks, or tasks with no assignments.
Example
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