Partager via


ProjectDataSet.TaskRow Class

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

Inheritance Hierarchy

System.Object
  System.Data.DataRow
    [Project Web service].ProjectDataSet.TaskRow

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 Class TaskRow _
    Inherits DataRow
'Usage
Dim instance As ProjectDataSet.TaskRow
public class TaskRow : DataRow

Remarks

Note

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.

Thread Safety

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

See Also

Reference

ProjectDataSet.TaskRow Members

Project Web Service