PublishedTask class
inherits members from Task
Represents a task in a published project.
Syntax
CSOM
class PublishedTask
JSOM
PS.PublishedTask
REST Interface
This resource supports the GET and POST HTTP commands:
PS.PublishedTask
http://contoso.sharepoint.com/sites/pwa/_api/ProjectServer/Projects('{projectid}')/Tasks('{taskid}')
Members
✓ - Read Support ✓ʷ - Write Support
Properties
Name | .NET | JSOM | REST | Type | Description |
---|---|---|---|---|---|
[] | ✓ʷ | Dictionary<string, Object> | Gets or sets an item in the published task. | ||
ActualCost | ✓ | ✓ | ✓ | Double | Gets the costs incurred for work already performed on the task, together with any other recorded costs that are associated with the task. |
ActualFinish | ✓ | ✓ | ✓ | DateTime | Gets the date and time when the task is complete. |
ActualStart | ✓ | ✓ | ✓ | DateTime | Gets the date and time that the task actually began, based on progress information that was entered. |
ActualWork | ✓ | ✓ | ✓ | String | Gets the amount of work that has already been performed by resources assigned to the task. |
ActualWorkMilliseconds | ✓ | ✓ | Integer | Gets the time interval, in milliseconds, for the amount of work that has already been performed by resources assigned to the task. | |
ActualWorkTimeSpan | ✓ | ✓ | TimeSpan | Gets the time interval for the amount of work that has already been performed by resources assigned to the task. | |
Assignments | ✓ | ✓ | ✓ | PublishedAssignmentCollection | Gets the collection of assignments for the task. |
BudgetWork | ✓ | ✓ | ✓ | String | Gets the budgeted work. |
BudgetWorkMilliseconds | ✓ | ✓ | Integer | Gets the time interval, expressed in milliseconds, for the budgeted work. | |
BudgetWorkTimeSpan | ✓ | ✓ | TimeSpan | Gets the time interval for the budgeted work. | |
Calendar | ✓ | ✓ | ✓ | Calendar | Gets the task calendar. |
Completion | ✓ | ✓ | ✓ | DateTime | Gets a completion date for the task. |
ConstraintStartEnd | ✓ | ✓ | ✓ | DateTime | Gets a constraint start date or end date. |
ConstraintType | ✓ | ✓ | ✓ | ConstraintType | Gets the choices for the type of constraint that can be applied to the scheduling of a task. |
Cost | ✓ | ✓ | ✓ | Double | Gets the total scheduled or projected cost for the task. The cost is based on costs already incurred for work performed by resources that are assigned to the task, in addition to the costs planned for the remaining work. |
Deadline | ✓ | ✓ | ✓ | DateTime | Gets the date that was entered as a deadline for the task. |
Duration | ✓ | ✓ | ✓ | String | Gets the amount of time it takes to complete a task. |
DurationMilliseconds | ✓ | ✓ | Integer | Gets the time interval, expressed in milliseconds, for the amount of time it takes to complete a task. | |
DurationTimeSpan | ✓ | ✓ | TimeSpan | Gets the time interval for the amount of time it takes to complete a task. | |
FieldValues | ✓ | ✓ | Dictionary<string, Object> | Gets the collection of custom fields that have values set for the published task. | |
Finish | ✓ | ✓ | ✓ | DateTime | Gets the date when a task is scheduled to be completed. |
FinishText | ✓ | ✓ | ✓ | String | Gets a string representation of the task finish date. |
FixedCost | ✓ | ✓ | ✓ | Double | Gets the fixed cost for the task, which is a nonresource expense. |
IsActive | ✓ | ✓ | ✓ | Boolean | Gets a value that indicates whether the task is active. |
IsLockedByManager | ✓ | ✓ | ✓ | Boolean | Gets a value that indicates whether the task has been locked for changes by a manager. |
IsManual | ✓ | ✓ | ✓ | Boolean | Gets a value that indicates whether the task is manually scheduled. |
IsMarked | ✓ | ✓ | ✓ | Boolean | Gets a value that indicates whether the task is marked as having special meaning. |
IsMilestone | ✓ | ✓ | ✓ | Boolean | Gets a value that indicates whether the task is a milestone. |
Item | ✓ʷ | Dictionary<string, Object> | Gets or sets an item in the published task. | ||
LevelingAdjustsAssignments | ✓ | ✓ | ✓ | Boolean | Gets a value that indicates whether resource leveling can delay or split assignments (rather than the task itself) to resolve overallocations. |
LevelingCanSplit | ✓ | ✓ | ✓ | Boolean | Gets a value that indicates whether resource leveling can interrupt and split the task. |
Name | ✓ | ✓ | ✓ | String | Gets the name of the task. |
OutlineLevel | ✓ | ✓ | ✓ | Integer | Gets the task outline level in a hierarchical task list. |
Parent | ✓ | ✓ | ✓ | PublishedTask | Gets the parent task link. |
PercentComplete | ✓ | ✓ | ✓ | Integer | Gets the current status of the task, expressed as the percentage of the task's duration that has been completed. |
PercentPhysicalWorkComplete | ✓ | ✓ | ✓ | Integer | Gets the manually entered percentage of physical work completed. |
Predecessors | ✓ | ✓ | ✓ | PublishedTaskLinkCollection | Gets the links to predecessor tasks on which the task depends, before the current task can be started or finished. |
Priority | ✓ | ✓ | ✓ | Integer | Gets the level of importance given to the task, which indicates how readily a task can be delayed or split during resource leveling. |
RemainingDuration | ✓ | ✓ | ✓ | String | Gets the amount of time that is required to complete the unfinished part of the task, which is the remaining task duration. |
RemainingDurationMilliseconds | ✓ | ✓ | Integer | Gets the time interval, expressed in milliseconds, for the amount of time that is required to complete the unfinished part of the task. | |
RemainingDurationTimeSpan | ✓ | ✓ | TimeSpan | Gets the time interval for the amount of time that is required to complete the unfinished part of the task, which is the remaining task duration. | |
Start | ✓ | ✓ | ✓ | DateTime | Gets the date when an assigned resource is scheduled to begin working on the task. |
StartText | ✓ | ✓ | ✓ | String | Gets a string representation of the task start date. |
StatusManager | ✓ | ✓ | ✓ | SPUser | Gets the task status manager. |
Successors | ✓ | ✓ | ✓ | PublishedTaskLinkCollection | Gets a collection of links to tasks that depend on the current task. |
TaskType | ✓ | ✓ | ✓ | TaskType | Gets the task type. |
UsePercentPhysicalWorkComplete | ✓ | ✓ | ✓ | Boolean | Gets a value that indicates whether to use PercentPhysicalWorkComplete orPercentComplete to compute earned value. |
Work | ✓ | ✓ | ✓ | String | Gets the total time that is scheduled for all resources assigned to the task. |
WorkMilliseconds | ✓ | ✓ | Integer | Gets the time interval, expressed in milliseconds, for the total time that is scheduled for all resources assigned to the task. | |
WorkTimeSpan | ✓ | ✓ | TimeSpan | Gets the time interval for the total time that is scheduled for all resources assigned to the task. |
See Also
PublishedAssignment
PublishedTaskCollection
PublishedTaskLink
SPUser