Project::QueueUpdateProject2 method
Updates, adds, or removes entities in a checked-out project, and reschedules the project.
Namespace: WebSvcProject
Assembly: ProjectServerServices (in ProjectServerServices.dll)
Parameters
- jobUid
- Type: System.Guid
The GUID of the queue job.
- sessionUid
- Type: System.Guid
The GUID of the session in which the queue job is submitted.
- dataset
- Type: WebSvcProject.ProjectDataSet
Contains the project entities to update or add.
- validateOnly
- Type: System.Boolean
If true, only validates the input data and does not perform the action.
Rescheduling the updated project uses the scheduling engine in Project Server 2013, which duplicates the scheduling engine in Project Professional 2013. When you use the QueueUpdateProject2 method, it is not necessary to open the project in Project Professional 2013 to update the schedule.
The Project class methods, such as QueueUpdateProject2, cannot create, edit, or delete cost resources. If the ProjectDataSet in the dataset parameter includes a cost resource, the method returns the ProjectCannotEditCostResource error 1050. You can use the CreateResources method to create cost resources, but Resource class methods cannot edit them. For more information, see What the PSI does and does not do.
Project Server Permissions
Permission | Description |
|---|---|
Allows a user to save the specified project. Category permission. | |
Allows a user to create and save a project as an enterprise project template. |