Nota
Capaian ke halaman ini memerlukan kebenaran. Anda boleh cuba mendaftar masuk atau menukar direktori.
Capaian ke halaman ini memerlukan kebenaran. Anda boleh cuba menukar direktori.
Gets overallocated assignments for a task start driver. Read-only OverAllocatedAssignments.
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
See also
Support and feedback
Have questions or feedback about Office VBA or this documentation? Please see Office VBA support and feedback for guidance about the ways you can receive support and provide feedback.