다음을 통해 공유


Project.QueueUpdateProjectTeam method

Updates the project team for a specified project.

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

Syntax

'Declaration
<SoapDocumentMethodAttribute("https://schemas.microsoft.com/office/project/server/webservices/Project/QueueUpdateProjectTeam", 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 QueueUpdateProjectTeam ( _
    JobUid As Guid, _
    sessionUid As Guid, _
    projectUid As Guid, _
    dataset As ProjectTeamDataSet _
)
'Usage
Dim instance As Project
Dim JobUid As Guid
Dim sessionUid As Guid
Dim projectUid As Guid
Dim dataset As ProjectTeamDataSet

instance.QueueUpdateProjectTeam(JobUid, _
    sessionUid, projectUid, dataset)
[SoapDocumentMethodAttribute("https://schemas.microsoft.com/office/project/server/webservices/Project/QueueUpdateProjectTeam", 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 QueueUpdateProjectTeam(
    Guid JobUid,
    Guid sessionUid,
    Guid projectUid,
    ProjectTeamDataSet dataset
)

Parameters

  • sessionUid
    Type: System.Guid

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

  • projectUid
    Type: System.Guid

    The GUID of the project.

Remarks

QueueUpdateProjectTeam cleans up resource data within a project. Old resources are removed, enterprise resource changes are incorporated, and new data is reconciled with enterprise data.

QueueUpdateProjectTeam is an asynchronous method that sends a message to the Project Server Queuing Service.

Wait for the queue to process the changes before trying to read the project team. If you read the project team before the changes are completed, you will not receive any team members that are still in the queue.

Project Server Permissions

Permission

Description

BuildTeamOnProject

Allows a user to make resource assignments from the resource pool to the specified project. Category permission.

See also

Reference

Project class

Project members

WebSvcProject namespace

QueueUpdateProjectTeam

Other resources

How to: Use the QueueSystem Web Service