共用方式為


Project.QueueUpdateProjectImpacts Method

Updates the project impact data, for portfolio analysis.

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
<SoapDocumentMethodAttribute("https://schemas.microsoft.com/office/project/server/webservices/Project/QueueUpdateProjectImpacts", 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 QueueUpdateProjectImpacts ( _
    jobUid As Guid, _
    sessionUid As Guid, _
    projectImpactDataSet As ProjectImpactDataSet _
)
'Usage
Dim instance As Project
Dim jobUid As Guid
Dim sessionUid As Guid
Dim projectImpactDataSet As ProjectImpactDataSet

instance.QueueUpdateProjectImpacts(jobUid, _
    sessionUid, projectImpactDataSet)
[SoapDocumentMethodAttribute("https://schemas.microsoft.com/office/project/server/webservices/Project/QueueUpdateProjectImpacts", 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 QueueUpdateProjectImpacts(
    Guid jobUid,
    Guid sessionUid,
    ProjectImpactDataSet projectImpactDataSet
)

Parameters

  • sessionUid
    Type: System.Guid
    The GUID of the session in which the queue job is submitted.

Remarks

Inserts an update project impact values message into the Project Server queue. QueueUpdateProjectImpacts is a new method in Project Server 2010.

Project Server Permissions

Permission

Description

SaveProject

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

EditProjectProperties

Allows a user to edit project custom fields, the project name, and the project owner for specified projects.

If the user does not have both permissions, Project Server issues a GeneralSecurityAccessDenied error.

See Also

Reference

Project Class

Project Members

Project Web Service