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 命名空间