AccrueAt enumeration
The cost accrual mode specifies how and when resource costs are to be charged to the cost of a task.
Namespace: Microsoft.ProjectServer.Client
Assembly: Microsoft.ProjectServer.Client (in Microsoft.ProjectServer.Client.dll)
Syntax
'Declaration
Public Enumeration AccrueAt
'Usage
Dim instance As AccrueAt
public enum AccrueAt
Members
Member name | Description | |
---|---|---|
NotSpecified | Value=0. The cost accrual mode is not specified. This constant is used in place of a DBNull value. | |
Start | Value=1. Costs are accrued as soon as the task assignment starts. A task assignment begins when a date is entered in the ActualStart field. | |
End | Value=2. Costs are not accrued until the remaining work is zero. | |
Prorated | Value=3. Costs accrue as work is scheduled to occur and as actual work is reported. This is the default value. |
Remarks
The AccrueAt enumeration in the CSOM is equivalent to Resource.AccrueAt in the Microsoft.Office.Project.Server.Library namespace. The AccrueAt constants can be used with the DraftProjectResource.CostAccrual property and the PublishedProjectResource.CostAccrual property.