Compartir a través de


ProjectDataSet.TaskRow.TASK_DUR_FMT Property

The task duration format indicates the display format of the duration value, and whether the duration is considered an estimate rather than a firm value.

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_DUR_FMT As Integer
    Get
    Set
'Usage
Dim instance As ProjectDataSet.TaskRow
Dim value As Integer

value = instance.TASK_DUR_FMT

instance.TASK_DUR_FMT = value
public int TASK_DUR_FMT { get; set; }

Property Value

Type: System.Int32

Remarks

Task.DurationFormat is an enumeration that contains the valid values for this field. Cast the enumerated value to an int for storage in this property. Assigning a value to this field affects

TASK_DUR_IS_EST. For example, if you assign the value of EstDay to this field, TASK_DUR_IS_EST returns true.

Note

When creating a TaskRow object, you must specify TASK_DUR_FMT. Otherwise, later use of the project in Project Professional can result in unpredictable behavior, including possible data loss.

int Value

enum Value

Description

Estimated

3

Minute

Minutes

No

4

EMinute

Elapsed minutes

No

5

Hour

Hours

No

6

EHour

Elapsed hours

No

7

Day

Days

No

8

EDay

Elapsed days

No

9

Week

Weeks

No

10

EWeek

Elapsed weeks

No

11

Month

Months

No

12

EMonth

Elapsed months

No

19

Percent

Percentage

No

20

EPercent

Elapsed percentage

No

21

Null

No value

No

37

EstHour

Estimated hours

Yes

38

EEstHour

Elapsed estimated hours

Yes

39

EstDay

Estimated days

Yes

40

EEstDay

Elapsed estimated days

Yes

41

EstWeek

Estimated weeks

Yes

42

EEstWeek

Elapsed estimated weeks

Yes

43

EstMonth

Estimated month

Yes

44

EEstMonth

Elapsed estimated months

Yes

51

EstPercent

Estimated percentage

Yes

52

EEstPercent

Elapsed estimated percentage

Yes

53

None

No display format

Yes

See Also

Reference

ProjectDataSet.TaskRow Class

ProjectDataSet.TaskRow Members

Project Web Service