次の方法で共有


QueueSystem.RetryJob メソッド

Project Server キュー サービスで失敗したジョブを再処理します。

名前空間:  WebSvcQueueSystem
アセンブリ:  ProjectServerServices (ProjectServerServices.dll 内)

構文

'宣言
<SoapDocumentMethodAttribute("https://schemas.microsoft.com/office/project/server/webservices/QueueSystem/RetryJob", 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 RetryJob ( _
    JobGUID As Guid _
)
'使用
Dim instance As QueueSystem
Dim JobGUID As Guid

instance.RetryJob(JobGUID)
[SoapDocumentMethodAttribute("https://schemas.microsoft.com/office/project/server/webservices/QueueSystem/RetryJob", 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 RetryJob(
    Guid JobGUID
)

パラメーター

注釈

Project Server は、ジョブの状態は、 Unknown、 Failed、 FailedNotBlocking、またはCancelledの場合にのみ、 RetryJobを使用できます。場合は、ジョブの状態は、他の値は、 RetryJob SOAP 例外を生成します。RetryJobを使用して、ジョブのCorrelationBlockedでは、再試行は、相関関係のレベルで発生する必要があるためには機能しません。

RetryJobは、 ReadyForProcessingをジョブの状態を設定します。場合は、現在のジョブの状態は、 Failed、 RetryJobはまた他のReadyForProcessingにCorrelationBlockedから、失敗したジョブによってブロックされているすべてのジョブの状態を設定します。

失敗したジョブを Project Server の管理者、キュー ジョブの管理] ページを使用でProject Web App (https://ServerName/ProjectServerName/_layouts/pwa/Admin/queue.aspx) を表示し、再試行してください。

プロジェクト サーバーのアクセス許可

権限

説明

ManageQueue

Project Server のキューを管理することができます。グローバル アクセス権。

関連項目

参照先

QueueSystem クラス

QueueSystem メンバー

WebSvcQueueSystem 名前空間