Table of contents
API
TOC
Collapse the table of content
Expand the table of content

PublishedTask class

Nadin Merali|Last Updated: 5/6/2017

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.NETJSOMRESTTypeDescription
[]✓ʷDictionary<string, Object>Gets or sets an item in the published task.
ActualCostDoubleGets the costs incurred for work already performed on the task, together with any other recorded costs that are associated with the task.
ActualFinishDateTimeGets the date and time when the task is complete.
ActualStartDateTimeGets the date and time that the task actually began, based on progress information that was entered.
ActualWorkStringGets the amount of work that has already been performed by resources assigned to the task.
ActualWorkMillisecondsIntegerGets the time interval, in milliseconds, for the amount of work that has already been performed by resources assigned to the task.
ActualWorkTimeSpanTimeSpanGets the time interval for the amount of work that has already been performed by resources assigned to the task.
AssignmentsPublishedAssignmentCollectionGets the collection of assignments for the task.
BudgetWorkStringGets the budgeted work.
BudgetWorkMillisecondsIntegerGets the time interval, expressed in milliseconds, for the budgeted work.
BudgetWorkTimeSpanTimeSpanGets the time interval for the budgeted work.
CalendarCalendarGets the task calendar.
CompletionDateTimeGets a completion date for the task.
ConstraintStartEndDateTimeGets a constraint start date or end date.
ConstraintTypeConstraintTypeGets the choices for the type of constraint that can be applied to the scheduling of a task.
CostDoubleGets 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.
DeadlineDateTimeGets the date that was entered as a deadline for the task.
DurationStringGets the amount of time it takes to complete a task.
DurationMillisecondsIntegerGets the time interval, expressed in milliseconds, for the amount of time it takes to complete a task.
DurationTimeSpanTimeSpanGets the time interval for the amount of time it takes to complete a task.
FieldValuesDictionary<string, Object>Gets the collection of custom fields that have values set for the published task.
FinishDateTimeGets the date when a task is scheduled to be completed.
FinishTextStringGets a string representation of the task finish date.
FixedCostDoubleGets the fixed cost for the task, which is a nonresource expense.
IsActiveBooleanGets a value that indicates whether the task is active.
IsLockedByManagerBooleanGets a value that indicates whether the task has been locked for changes by a manager.
IsManualBooleanGets a value that indicates whether the task is manually scheduled.
IsMarkedBooleanGets a value that indicates whether the task is marked as having special meaning.
IsMilestoneBooleanGets a value that indicates whether the task is a milestone.
Item✓ʷDictionary<string, Object>Gets or sets an item in the published task.
LevelingAdjustsAssignmentsBooleanGets a value that indicates whether resource leveling can delay or split assignments (rather than the task itself) to resolve overallocations.
LevelingCanSplitBooleanGets a value that indicates whether resource leveling can interrupt and split the task.
NameStringGets the name of the task.
OutlineLevelIntegerGets the task outline level in a hierarchical task list.
ParentPublishedTaskGets the parent task link.
PercentCompleteIntegerGets the current status of the task, expressed as the percentage of the task's duration that has been completed.
PercentPhysicalWorkCompleteIntegerGets the manually entered percentage of physical work completed.
PredecessorsPublishedTaskLinkCollectionGets the links to predecessor tasks on which the task depends, before the current task can be started or finished.
PriorityIntegerGets the level of importance given to the task, which indicates how readily a task can be delayed or split during resource leveling.
RemainingDurationStringGets the amount of time that is required to complete the unfinished part of the task, which is the remaining task duration.
RemainingDurationMillisecondsIntegerGets the time interval, expressed in milliseconds, for the amount of time that is required to complete the unfinished part of the task.
RemainingDurationTimeSpanTimeSpanGets 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.
StartDateTimeGets the date when an assigned resource is scheduled to begin working on the task.
StartTextStringGets a string representation of the task start date.
StatusManagerSPUserGets the task status manager.
SuccessorsPublishedTaskLinkCollectionGets a collection of links to tasks that depend on the current task.
TaskTypeTaskTypeGets the task type.
UsePercentPhysicalWorkCompleteBooleanGets a value that indicates whether to use PercentPhysicalWorkComplete orPercentComplete to compute earned value.
WorkStringGets the total time that is scheduled for all resources assigned to the task.
WorkMillisecondsIntegerGets the time interval, expressed in milliseconds, for the total time that is scheduled for all resources assigned to the task.
WorkTimeSpanTimeSpanGets the time interval for the total time that is scheduled for all resources assigned to the task.

See Also

PublishedAssignment
PublishedTaskCollection
PublishedTaskLink
SPUser

© 2018 Microsoft