次の方法で共有


ProjectDataSet.TaskRow.TASK_PCT_COMP Property

Specifies the percentage of elapsed duration compared with the remaining duration.

Namespace:  [Project Web service]
Service reference: http://ServerName:32843/[Project Service Application GUID]/PSI/Project.svc
Web service reference: http://ServerName/ProjectServerName/_vti_bin/PSI/Project.asmx?wsdl

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. Entering a value in the Actual Duration or Remaining Duration field automatically recalculates the other fields.

See Also

Reference

ProjectDataSet.TaskRow Class

ProjectDataSet.TaskRow Members

Project Web Service