ProjectDataSet.TaskRow.TASK_PCT_COMP Property
Task percent complete is percentage of elapsed duration compared with the remaining duration.
Namespace: WebSvcProject
Assembly: ProjectServerWebServices (in ProjectServerWebServices.dll)
Syntax
'Declaration
Public Property TASK_PCT_COMP As Integer
Get
Set
'Usage
Dim instance As ProjectDataSet.TaskRow
Dim value As Integer
value = instance.TASK_PCT_COMP
instance.TASK_PCT_COMP = value
public int TASK_PCT_COMP { get; set; }
Property Value
Type: System.Int32
Remarks
Read-only. TASK_PCT_COMP = (TASK_ACT_DUR / TASK_DUR) * 100
When a task is created, the percent complete is zero. TASK_PCT_COMP is calculated when you enter actual duration, remaining duration, or actual work (which affects actual duration).
If the % Complete field is set to a value greater than zero, the Actual Start field is set to the scheduled start date if you have not yet entered an actual start date. If the % Complete field is set to 100, the Actual Finish field is set to the scheduled finish date.
If you type a value in the % Complete field, Project automatically calculates actual duration and remaining duration. Likewise, entering a value in the Actual Duration or Remaining Duration field automatically recalculates the other fields.