Partager via


ProjectDataSet.ProjectResourceRow.RES_COST Property

Specifies the total current cost or resource cost of this resource on this project.

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 RES_COST As Double
    Get
    Set
'Usage
Dim instance As ProjectDataSet.ProjectResourceRow
Dim value As Double

value = instance.RES_COST

instance.RES_COST = value
public double RES_COST { get; set; }

Property Value

Type: System.Double

Remarks

Read-only. RES_COST is calculated as shown in the following formula.

RES_COST = RES_ACT_COST + RES_REM_COST

When a resource is first added to a project, cost is 0.00 until the resource is assigned to tasks. After assignments are made, cost is calculated based on the Standard Rate, Overtime Rate, Per Use Cost, and Cost accrual settings for the resource and the amount of work that is assigned to the resource for the task. When actual work or actual cost is reported on assignments for the resource, Project Server calculates the cost by adding the actual cost to the remaining cost.

See Also

Reference

ProjectDataSet.ProjectResourceRow Class

ProjectDataSet.ProjectResourceRow Members

Project Web Service