ProjectDataSet.TaskRow class

Office 2013 and later

Defines the properties, methods, and events of one task in a TaskDataTable.


Namespace:  WebSvcProject
Assembly:  ProjectServerServices (in ProjectServerServices.dll)

public class TaskRow : DataRow


The PSI can process a maximum of 1000 rows of data at a time. If the total number of rows of new or updated data in all tables of ProjectDataSet exceeds 1000, the PSI returns the ProjectExceededItemsLimit error.

When creating a TaskRow object, specify TASK_DUR_FMT. Otherwise, opening the saved project in Project Professional can result in unpredictable behavior, including possible data loss.

Don't set the TASK_WBS property in a TaskRow object. The TASK_WBS property is read-only, although the PSI shows it as read-write. If you set the TASK_WBS property in a TaskRow to a specified value and then create or update the project, Project Professional ignores the value set from the PSI and assigns a value according to the task outline position when you open the project. To see the result in Project Professional, check the WBS code value on the Advanced tab of the Task Information dialog box.

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.