共用方式為


ProjectDataSet.ProjectRow.PROJ_OPT_NEW_TASK_EST Property

Indicates whether new tasks have estimated durations.

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_NEW_TASK_EST As Boolean
    Get
    Set
'Usage
Dim instance As ProjectDataSet.ProjectRow
Dim value As Boolean

value = instance.PROJ_OPT_NEW_TASK_EST

instance.PROJ_OPT_NEW_TASK_EST = value
public bool PROJ_OPT_NEW_TASK_EST { get; set; }

Property Value

Type: System.Boolean

Remarks

true if new tasks have estimated durations; otherwise, false. PROJ_OPT_NEW_TASK_EST maps to the New tasks have estimated durations option on the Schedule 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 true.

Estimated durations appear in Microsoft Office Project Professional with a question mark, for example, 1 day?, if PROJ_OPT_SHOW_EST_DUR is true.

See Also

Reference

ProjectDataSet.ProjectRow Class

ProjectDataSet.ProjectRow Members

Project Web Service