다음을 통해 공유


Project.QueuePublishSummary method

Publishes the stage summaries of the specified project, in a partial publish operation.

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

Syntax

'Declaration
<SoapDocumentMethodAttribute("https://schemas.microsoft.com/office/project/server/webservices/Project/QueuePublishSummary", 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 Function QueuePublishSummary ( _
    jobUid As Guid, _
    projectUid As Guid _
) As ProjectRelationsDataSet
'Usage
Dim instance As Project
Dim jobUid As Guid
Dim projectUid As Guid
Dim returnValue As ProjectRelationsDataSet

returnValue = instance.QueuePublishSummary(jobUid, _
    projectUid)
[SoapDocumentMethodAttribute("https://schemas.microsoft.com/office/project/server/webservices/Project/QueuePublishSummary", 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 ProjectRelationsDataSet QueuePublishSummary(
    Guid jobUid,
    Guid projectUid
)

Parameters

  • projectUid
    Type: System.Guid

    The GUID of the project.

Return value

Type: WebSvcProject.ProjectRelationsDataSet
The ProjectRelationsDataSet is empty when doing a partial publish of stage summaries. It is returned to provide parity with the QueuePublish method.

Remarks

The QueuePublishSummary method checks whether the Published database contains a lower version number of the project than the Drafts database. If so, QueuePublishSummary calls QueuePublish to do a full publish.

QueuePublishSummary is a new method in Project Server 2013. QueuePublishSummary is an asynchronous method that sends a publish summary message to the Project Server queue.

Project Server Permissions

Permission

Description

EditProjectProperties

Allows a user to edit the new project. Category permission.

SaveProject

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

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

See also

Reference

Project class

Project members

WebSvcProject namespace