共用方式為


Project.QueuePublishSummary 方法

發佈階段摘要中或部分指定專案的發佈作業。

命名空間:  WebSvcProject
組件:  ProjectServerServices (在 ProjectServerServices.dll 中)

語法

'宣告
<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
'用途
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
)

參數

傳回值

類型:WebSvcProject.ProjectRelationsDataSet
執行階段摘要的部分發佈時, ProjectRelationsDataSet是空的。它會傳回同位提供QueuePublish方法。

備註

QueuePublishSummary方法會檢查是否已發佈資料庫包含專案較低版本號碼比草稿資料庫。若是如此, QueuePublishSummary呼叫QueuePublish執行完整的發佈。

QueuePublishSummary是Project Server 2013中的新方法。QueuePublishSummary是發佈摘要郵件傳送至 Project Server 佇列非同步方法。

Project Server 權限

權限

描述

EditProjectProperties

可讓使用者編輯新的專案。類別權限。

SaveProject

可讓使用者儲存指定的專案。類別權限。

如果使用者不具有兩個權限,Project Server 問題GeneralSecurityAccessDenied錯誤。

請參閱

參照

Project 類別

Project 成員

WebSvcProject 命名空間