ProjectDataSet.TaskRow.TASK_IS_ACTIVE Property

Gets or sets a value that indicates whether the task is active (true) or inactive (false).

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 TASK_IS_ACTIVE As Boolean
    Get
    Set
'Usage
Dim instance As ProjectDataSet.TaskRow
Dim value As Boolean

value = instance.TASK_IS_ACTIVE

instance.TASK_IS_ACTIVE = value
public bool TASK_IS_ACTIVE { get; set; }

Property Value

Type: System.Boolean

Remarks

When you set a task to be inactive in Project Professional, and then publish the project, Project Web App still shows the task in the project schedule, but the task row is not editable. An automatically scheduled task (for example T3) that has an inactive task (for example T2) as a predecessor ignores the inactive task dates.

If task T2 is the only predecessor task and there are no other constraints, the start date of task T3 is set back to the project start date. However, the Gantt chart continues to show the predecessor connector line until task T2 is removed as a predecessor of T3.

The Project Server scheduling engine can show inconsistent start or finish times when you use the QueueUpdateProject method to change the active status of a task, if there are multiple changes in the ProjectDataSet object for the dataset parameter. If the TASK_IS_ACTIVE property is the only change in the dataset parameter, you can update the project.

See Also

Reference

ProjectDataSet.TaskRow Class

ProjectDataSet.TaskRow Members

Project Web Service