다음을 통해 공유


Project.QueueUpdateProject2 method

Updates, adds, or removes entities in a checked-out project, and reschedules the project.

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

Syntax

'Declaration
<SoapDocumentMethodAttribute("https://schemas.microsoft.com/office/project/server/webservices/Project/QueueUpdateProject2", RequestNamespace := "https://schemas.microsoft.com/office/project/server/webservices/Project/",  _
    ResponseNamespace := "https://schemas.microsoft.com/office/project/server/webservices/Project/",  _
    Use := SoapBindingUse.Literal, ParameterStyle := SoapParameterStyle.Wrapped)> _
Public Sub QueueUpdateProject2 ( _
    jobUid As Guid, _
    sessionUid As Guid, _
    dataset As ProjectDataSet, _
    validateOnly As Boolean _
)
'Usage
Dim instance As Project
Dim jobUid As Guid
Dim sessionUid As Guid
Dim dataset As ProjectDataSet
Dim validateOnly As Boolean

instance.QueueUpdateProject2(jobUid, _
    sessionUid, dataset, validateOnly)
[SoapDocumentMethodAttribute("https://schemas.microsoft.com/office/project/server/webservices/Project/QueueUpdateProject2", RequestNamespace = "https://schemas.microsoft.com/office/project/server/webservices/Project/", 
    ResponseNamespace = "https://schemas.microsoft.com/office/project/server/webservices/Project/", 
    Use = SoapBindingUse.Literal, ParameterStyle = SoapParameterStyle.Wrapped)]
public void QueueUpdateProject2(
    Guid jobUid,
    Guid sessionUid,
    ProjectDataSet dataset,
    bool validateOnly
)

Parameters

  • sessionUid
    Type: System.Guid

    The GUID of the session in which the queue job is submitted.

  • validateOnly
    Type: System.Boolean

    If true, only validates the input data and does not perform the action.

Remarks

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

SaveProject

Allows a user to save the specified project. Category permission.

SaveProjectTemplate

Allows a user to create and save a project as an enterprise project template.

See also

Reference

Project class

Project members

WebSvcProject namespace