Project.QueueUpdateProjectTeam Method

Updates the project team for a specified project.

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

Syntax

'Declaration
<SoapDocumentMethodAttribute("http://schemas.microsoft.com/office/project/server/webservices/Project/QueueUpdateProjectTeam", RequestNamespace := "http://schemas.microsoft.com/office/project/server/webservices/Project/",  _
    ResponseNamespace := "http://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("http://schemas.microsoft.com/office/project/server/webservices/Project/QueueUpdateProjectTeam", RequestNamespace = "http://schemas.microsoft.com/office/project/server/webservices/Project/", 
    ResponseNamespace = "http://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
    GUID of the session in which the queue job is submitted.

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.

Be sure to 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 won't receive any team members still in the queue.

Project Server Permissions

Permission

Description

BuildTeamOnProject

Can 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