QueueSystem.UnblockCorrelation 方法

取消阻止 Project Server 队列服务中的作业关联。

命名空间:  WebSvcQueueSystem
程序集:  ProjectServerServices(位于 ProjectServerServices.dll 中)

语法

声明
<SoapDocumentMethodAttribute("https://schemas.microsoft.com/office/project/server/webservices/QueueSystem/UnblockCorrelation", RequestNamespace := "https://schemas.microsoft.com/office/project/server/webservices/QueueSystem/",  _
    ResponseNamespace := "https://schemas.microsoft.com/office/project/server/webservices/QueueSystem/",  _
    Use := SoapBindingUse.Literal, ParameterStyle := SoapParameterStyle.Wrapped)> _
Public Sub UnblockCorrelation ( _
    correlationGUID As Guid _
)
用法
Dim instance As QueueSystem
Dim correlationGUID As Guid

instance.UnblockCorrelation(correlationGUID)
[SoapDocumentMethodAttribute("https://schemas.microsoft.com/office/project/server/webservices/QueueSystem/UnblockCorrelation", RequestNamespace = "https://schemas.microsoft.com/office/project/server/webservices/QueueSystem/", 
    ResponseNamespace = "https://schemas.microsoft.com/office/project/server/webservices/QueueSystem/", 
    Use = SoapBindingUse.Literal, ParameterStyle = SoapParameterStyle.Wrapped)]
public void UnblockCorrelation(
    Guid correlationGUID
)

参数

  • correlationGUID
    类型:System.Guid

    关联的 GUID。

备注

如果作业状态不是CorrelationBlocked, UnblockCorrelation将生成一个 SOAP 异常。

UnblockCorrelation将被阻止的作业的状态设置为FailedNotBlocking ,并在从CorrelationBlocked到ReadyForProcessing相关设置的其他被阻止的作业。

警告

Project Server 队列服务阻止互联以防止数据损坏。任意取消阻止互联会产生意外的结果。仅当您确信后面阻止作业中的剩余作业可继续而不会损坏,请使用UnblockCorrelation 。

Project Server 管理员可以使用Project Web App (https://ServerName/ProjectServerName/_layouts/pwa/Admin/queue.aspx) 在管理队列作业页上,查看和取消阻止相关的作业。

Project Server 权限

权限

说明

ManageQueue

允许用户管理 Project Server 队列。全局权限。

另请参阅

引用

QueueSystem 类

QueueSystem 成员

WebSvcQueueSystem 命名空间