DraftTask members

Represents a task in a checked-out project.

The DraftTask type exposes the following members.

Constructors

  Name Description
Public method DraftTask Creates an instance of the DraftTask class.

Top

Properties

  Name Description
Public property ActualCost Gets or set costs incurred for work already performed on a task, together with any other recorded costs that are associated with a task.
Public property ActualCostWorkPerformed Gets or sets costs incurred for work already performed on a task to date.
Public property ActualDuration Gets the span of active working time that is required to complete a task. (Inherited from Task.)
Public property ActualDurationTimeSpan Gets the total time interval for the span of active working time that is required to complete a task. (Inherited from Task.)
Public property ActualFinish Gets or sets a date and time when a task is complete.
Public property ActualOvertimeCost Gets or sets costs incurred for overtime work already performed on a task.
Public property ActualOvertimeWork Gets or sets the actual amount of overtime work already performed on a task.
Public property ActualOvertimeWorkTimeSpan Gets or sets the time interval for the actual amount of overtime work already performed on a task.
Public property ActualStart Gets or sets a date and time that a task actually began, based on progress information that has been entered.
Public property ActualWork Gets or sets the amount of work that has already been performed on a task.
Public property ActualWorkTimeSpan Gets or sets the time interval for the amount of work that has already been performed on a task.
Public property Assignments Gets the assignments for a task.
Public property BaselineCost Gets the total planned cost for the task. (Inherited from Task.)
Public property BaselineDuration Gets the original span of time that is planned to complete the task, established at the time of the project baseline. (Inherited from Task.)
Public property BaselineDurationTimeSpan Gets the total time interval for the original span of time that is planned to complete the task, established at the time of the project baseline. (Inherited from Task.)
Public property BaselineFinish Gets the planned task completion date that was set at the time that the baseline was saved. (Inherited from Task.)
Public property BaselineStart Gets the planned task start date that was set at the time that the baseline was saved. (Inherited from Task.)
Public property BaselineWork Gets the total planned person-hours that are scheduled for a task, as established at the time of the project baseline. (Inherited from Task.)
Public property BaselineWorkTimeSpan Gets the total time interval for the total planned person-hours that are scheduled for the task, as established at the time of the project baseline. (Inherited from Task.)
Public property BudgetCost Gets the budget costs for budget cost resources. (Inherited from Task.)
Public property BudgetedCostWorkPerformed Gets or sets the estimated cost of work performed to date on a task.
Public property BudgetedCostWorkScheduled Gets or sets the estimated cost of scheduled work on a task.
Public property BudgetWork Gets or sets the amount of work that is estimated to be performed on a task.
Public property BudgetWorkTimeSpan Gets or sets the time interval for the amount of work that is estimated to be performed on a task.
Public property Calendar Gets or sets the task calendar.
Public property Completion Gets or sets a completion date for a task.
Public property ConstraintStartEnd Gets or sets a constraint start date or end date for a task.
Public property ConstraintType Gets or sets the time constraint type for a task.
Public property Contact Gets or sets a task contact.
Public property Context (Inherited from ClientObject.)
Public property Cost Gets or sets the total scheduled or projected cost based on costs already incurred for work performed on a task, in addition to the costs planned for the remaining work.
Public property CostPerformanceIndex Gets the ratio of the baseline costs of work that has been performed on the task to the actual costs of work that has been performed, calculated up to the project status date or today's date. (Inherited from Task.)
Public property CostVariance Gets the difference between the baseline cost and the total cost for the task. (Inherited from Task.)
Public property CostVarianceAtCompletion Gets the difference between the baseline cost and the total cost at the completion of the task. (Inherited from Task.)
Public property CostVariancePercentage Gets the ratio of cost variance (CV) to the budgeted cost of work that has been performed on the task (BCWP), expressed as a percentage. (Inherited from Task.)
Public property Created Gets the date and the time when the task was added to the project. (Inherited from Task.)
Public property CustomFields Gets the collection of custom fields for the task. (Inherited from Task.)
Public property Deadline Gets or sets the date that was entered as a deadline for a task.
Public property Duration Gets or sets the amount of time that it takes to complete a task.
Public property DurationTimeSpan Gets or sets the time interval for the amount of time that it takes to complete a task.
Public property DurationVariance Gets the difference between the baseline duration of the task and the total duration, or current estimated duration, of the task. (Inherited from Task.)
Public property DurationVarianceTimeSpan Gets the total time interval for the difference between the baseline duration of the task and the total duration, or current estimated duration, of the task. (Inherited from Task.)
Public property EarliestFinish Gets the earliest date that the task could possibly finish, based on the early finish dates of predecessor and successor tasks, other constraints, and any leveling delay. (Inherited from Task.)
Public property EarliestStart Gets the earliest date that the task could possibly begin, based on the early start dates of predecessor and successor tasks and other constraints. (Inherited from Task.)
Public property EstimateAtCompletion Gets the estimate at completion (EAC) for the task. (Inherited from Task.)
Public property FieldValues Gets the collection of custom fields that have values set for a task.
Public property Finish Gets or sets a task finish date.
Public property FinishSlack Gets the duration between the EarlyFinish date and the LateFinish date. (Inherited from Task.)
Public property FinishSlackTimeSpan Gets the total time interval of planned person-hours scheduled for an assignment, at the time of the project baseline. (Inherited from Task.)
Public property FinishVariance Gets the time that represents the difference between the baseline finish date of the task and the current finish date. (Inherited from Task.)
Public property FinishVarianceTimeSpan Gets the time interval for the variance of the finish date of the task. (Inherited from Task.)
Public property FixedCost Gets or sets any non-resource task expense.
Public property FixedCostAccrual Gets or sets the choices for how and when fixed costs are to be charged to the cost of a task.
Public property FreeSlack Gets the amount of time that the task can be delayed without delaying successor tasks. (Inherited from Task.)
Public property FreeSlackTimeSpan Gets the total time interval for the amount of time that the task can be delayed without delaying successor tasks. (Inherited from Task.)
Public property Id Gets the GUID of the task. (Inherited from Task.)
Public property IsActive Gets or sets a value that indicates whether a task is active.
Public property IsCritical Gets a value that indicates whether the timing for the task is critical or whether there can be any slack in the timing. (Inherited from Task.)
Public property IsEffortDriven Gets or sets a value that indicates whether the scheduling of a task is effort-driven.
Public property IsExternalTask Gets a value that indicates whether this is a ghost task from another project created by Project Professional. (Inherited from Task.)
Public property IsLockedByManager Gets or sets a value that indicates whether a task has been locked for changes by a manager.
Public property IsManual Gets or sets a value that indicates whether a task is manually scheduled.
Public property IsMarked Gets or sets a value that indicates whether a task has been marked as having special meaning.
Public property IsMilestone Gets or sets a value that indicates whether a task is a milestone.
Public property IsOverAllocated Gets a value that indicates whether the task is overallocated. (Inherited from Task.)
Public property IsRecurring Gets a value that indicates whether the task is part of a recurring series. (Inherited from Task.)
Public property IsRecurringSummary Gets a value that indicates whether the task is the parent of a recurring series. (Inherited from Task.)
Public property IsRolledUp Gets a value that indicates whether information on the subtask Gantt bars is rolled up to the summary task bar. (Inherited from Task.)
Public property IsSubProject Gets a value that indicates whether the task represents a subproject. (Inherited from Task.)
Public property IsSubProjectReadOnly Gets a value that indicates whether a subproject for this task is read-only. (Inherited from Task.)
Public property IsSubProjectScheduledFromFinish Gets a value that indicates whether a subproject for this task is set to schedule from finish. (Inherited from Task.)
Public property IsSummary Gets a value that indicates whether the task is a summary task. (Inherited from Task.)
Public property Item Gets or sets an item in the project.
Public property LatestFinish Gets the latest date that the task can finish without delaying the finish of the project. (Inherited from Task.)
Public property LatestStart Gets the latest date that the task can start without delaying the finish of the project. (Inherited from Task.)
Public property LevelingAdjustsAssignments Gets or sets a value that indicates whether leveling can delay or split assignments (rather than the task itself) to resolve overallocations.
Public property LevelingCanSplit Gets or sets a value that indicates whether leveling can interrupt and split a task.
Public property LevelingDelay Gets or sets the amount of time that leveling can delay a task from its early start.
Public property LevelingDelayTimeSpan Gets or sets the time interval for the amount of time that leveling can delay a task from its early start.
Public property Modified Gets the modified date. (Inherited from Task.)
Public property Name Gets or sets the name of a task.
Public property Notes Gets the notes about the task. (Inherited from Task.)
Protected property ObjectData (Inherited from ClientObject.)
Public property ObjectVersion (Inherited from ClientObject.)
Public property OutlineLevel Gets or sets the task outline level in a hierarchical task list.
Public property OutlinePosition Gets the position of the task in the project outline hierarchy. (Inherited from Task.)
Public property OvertimeCost Gets the total overtime cost for the task. (Inherited from Task.)
Public property OvertimeWork Gets the amount of overtime scheduled to be performed on the task. (Inherited from Task.)
Public property OvertimeWorkTimeSpan Gets the total time interval for the amount of overtime scheduled to be performed on the task. (Inherited from Task.)
Public property Parent Gets the parent task.
Public property Path (Inherited from ClientObject.)
Public property PercentComplete Gets or sets the percent of duration completed on a task.
Public property PercentPhysicalWorkComplete Gets or sets the percentage of physical work completed on a task.
Public property PercentWorkComplete Gets the current status of the task, expressed as the percentage of work that has been completed. (Inherited from Task.)
Public property Predecessors Gets the links to the predecessor tasks that the current task depends on.
Public property PreLevelingFinish Gets the finish date of the task as it was before resource leveling was performed. (Inherited from Task.)
Public property PreLevelingStart Gets the start date of the task as it was before resource leveling was performed. (Inherited from Task.)
Public property Priority Gets or sets the task priority.
Public property RegularWork Gets the total amount of non-overtime work that is scheduled to be performed on the task. (Inherited from Task.)
Public property RegularWorkTimeSpan Gets the total time interval for the total amount of non-overtime work that is scheduled to be performed on the task. (Inherited from Task.)
Public property RemainingCost Gets the remaining scheduled expense that will be incurred during completion of the remaining scheduled work on the task. (Inherited from Task.)
Public property RemainingDuration Gets or sets the remaining task duration.
Public property RemainingDurationTimeSpan Gets or sets the time interval for the remaining task duration.
Public property RemainingOvertimeCost Gets the remaining scheduled overtime expense for the task. (Inherited from Task.)
Public property RemainingOvertimeWork Gets the amount of time, such as person-hours or days, that is required to complete the remaining overtime work for a task. (Inherited from Task.)
Public property RemainingOvertimeWorkTimeSpan Gets the total time interval for the amount of time, such as person-hours or days, that is required to complete the remaining overtime work for a task. (Inherited from Task.)
Public property RemainingWork Gets the time, such as person-hours or days, that is required to complete the task or set of tasks. (Inherited from Task.)
Public property RemainingWorkTimeSpan Gets the total time interval for the time, such as person-hours or days, that is required to complete the task or set of tasks. (Inherited from Task.)
Public property Resume Gets the date that the remaining part of the task is scheduled to resume after progress is entered. (Inherited from Task.)
Public property ScheduleCostVariance Gets the difference in cost terms between the current progress and the baseline planned progress for a resource on the task. (Inherited from Task.)
Public property ScheduledDuration Gets the total span of active working time for the task as entered or as calculated based on the start date, the finish date, calendars, and other scheduling factors. (Inherited from Task.)
Public property ScheduledDurationTimeSpan Gets the time interval for the total span of active working time for the task as entered or as calculated based on the start date, the finish date, calendars, and other scheduling factors. (Inherited from Task.)
Public property ScheduledFinish Gets the date when work on the task is scheduled to be complete as it was calculated based on the start date, the duration, dependencies, calendars, and other scheduling factors. (Inherited from Task.)
Public property ScheduledStart Gets the date when work on the task is scheduled to begin as it was calculated based on dependencies, constraints, calendars, and other scheduling factors. (Inherited from Task.)
Public property SchedulePerformanceIndex Gets the ratio of the budgeted cost of work performed to the budgeted cost of work scheduled. (Inherited from Task.)
Public property ScheduleVariancePercentage Gets the ratio of schedule variance (SV) to budgeted cost of work scheduled (BCWS), expressed as a percentage. (Inherited from Task.)
Public property ServerObjectIsNull (Inherited from ClientObject.)
Public property Start Gets or sets the task start date.
Public property StartSlack Gets the duration between the EarlyStart date and the LateStart date. (Inherited from Task.)
Public property StartSlackTimeSpan Gets the time interval for the duration between the EarlyStart date and the LateStart date. (Inherited from Task.)
Public property StartVariance Gets the time that represents the difference between a baseline start date of the task and its currently scheduled start date. (Inherited from Task.)
Public property StartVarianceTimeSpan Gets the time interval for the variance of the task start date. (Inherited from Task.)
Public property Stop Gets the date that represents the end of the actual portion of the task. (Inherited from Task.)
Public property SubProject Gets a project that has been inserted into the master project. (Inherited from Task.)
Public property Successors Gets links to tasks that depend on the current task.
Public property Tag (Inherited from ClientObject.)
Public property TaskType Gets or sets the task type.
Public property ToCompletePerformanceIndex Gets the To Complete Performance Index for the task. (Inherited from Task.)
Public property TotalSlack Gets the time that the task's finish date can be delayed without delaying the project's finish date. (Inherited from Task.)
Public property TotalSlackTimeSpan Gets the total time interval for the amount of time that the task finish date can be delayed without delaying the project's finish date. (Inherited from Task.)
Public property TypedObject (Inherited from ClientObject.)
Public property UsePercentPhysicalWorkComplete Gets or sets a value that indicates whether to use PercentPhysicalWorkComplete or PercentComplete to compute earned value.
Public property Work Gets or sets the total time scheduled for a task.
Public property WorkBreakdownStructure Gets a code that identifies a location in a hierarchical structure that is used to organize tasks for reporting schedules and tracking costs. (Inherited from Task.)
Public property WorkTimeSpan Gets or sets the time interval for the total time scheduled for a task.
Public property WorkVariance Gets the difference between baseline work and currently scheduled work on a task, expressed as, for example, the number of person-hours or days. (Inherited from Task.)
Public property WorkVarianceTimeSpan Gets the total time interval for the difference between baseline work and currently scheduled work on the task. (Inherited from Task.)

Top

Methods

  Name Description
Protected method CheckUninitializedProperty (Inherited from ClientObject.)
Public method CustomFromJson (Inherited from ClientObject.)
Public method DeleteObject Deletes the DraftTask object.
Public method Equals (Inherited from Object.)
Protected method Finalize (Inherited from Object.)
Public method FromJson (Inherited from ClientObject.)
Public method GetHashCode (Inherited from Object.)
Public method GetType (Inherited from Object.)
Protected method InitNonPropertyFieldFromJson Reserved for internal use. (Overrides ClientObject.InitNonPropertyFieldFromJson(String, JsonReader).)
Protected method InitOnePropertyFromJson Reserved for internal use. (Overrides Task.InitOnePropertyFromJson(String, JsonReader).)
Public method IsObjectPropertyInstantiated (Inherited from ClientObject.)
Public method IsPropertyAvailable (Inherited from ClientObject.)
Protected method LoadExpandoFields Reserved for internal use. Initializes the extended properties that are associated with the DraftTask object. (Overrides ClientObject.LoadExpandoFields().)
Protected method MemberwiseClone (Inherited from Object.)
Public method RefreshLoad Reserved for internal use. Reloads all scalar properties that are associated with the DraftTask object. (Overrides ClientObject.RefreshLoad().)
Protected method RemoveFromParentCollection (Inherited from ClientObject.)
Public method Retrieve() (Inherited from ClientObject.)
Public method Retrieve([]) (Inherited from ClientObject.)
Public method ToString (Inherited from Object.)
Protected method UpdateClientObjectPropertyType (Inherited from ClientObject.)

Top

See also

Reference

DraftTask class

Microsoft.ProjectServer.Client namespace