共用方式為


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 例外狀況。

UnblockCorrelationFailedNotBlocking來設定封鎖工作的狀態,並從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 命名空間