Partager via


ProjectDataSet.ProjectRow.PROJ_OPT_WORK_ENTRY_FMT Property

Specifies the default format for work 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 PROJ_OPT_WORK_ENTRY_FMT As Integer
    Get
    Set
'Usage
Dim instance As ProjectDataSet.ProjectRow
Dim value As Integer

value = instance.PROJ_OPT_WORK_ENTRY_FMT

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

Property Value

Type: System.Int32

Remarks

PROJ_OPT_WORK_ENTRY_FMT maps to the Work is entered in option on the Calendar tab of the Options dialog box in Project Professional.

The default value for new projects is determined by the enterprise global template. If there is no enterprise global template value, the default value is 5 (hours).

  • 3 = Minutes

  • 5 = Hours

  • 7 = Days

  • 9 = Weeks

  • 11 = Months

See Also

Reference

ProjectDataSet.ProjectRow Class

ProjectDataSet.ProjectRow Members

Project Web Service