共用方式為


ProjectDataSet.ProjectRow.ProjectOptionDefaultStandardRateFormat Property

Specifies the time unit for the standard rate that is stored by the PROJ_OPT_DEF_STD_RATE property.

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

value = instance.ProjectOptionDefaultStandardRateFormat

instance.ProjectOptionDefaultStandardRateFormat = value
public short ProjectOptionDefaultStandardRateFormat { get; set; }

Property Value

Type: System.Int16

Remarks

Read-only.

  • 1 = Minute

  • 2 = Hour

  • 3 = Day

  • 4 = Week

  • 5 = Month

  • 7 = Year

The enterprise global template determines the standard rate unit for new projects. If there is no enterprise global template, the default is 2 (hour); for example $40/hour.

See Also

Reference

ProjectDataSet.ProjectRow Class

ProjectDataSet.ProjectRow Members

Project Web Service