共用方式為


QueueSystem.CancelJobAndCorrelation 方法

任何相關的子工作,以及取消選定的工作或工作。

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

語法

'宣告
<SoapDocumentMethodAttribute("https://schemas.microsoft.com/office/project/server/webservices/QueueSystem/CancelJobAndCorrelation", 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 CancelJobAndCorrelation ( _
    jobUID As Guid, _
    cancelSendIncompleteJobs As Boolean _
)
'用途
Dim instance As QueueSystem
Dim jobUID As Guid
Dim cancelSendIncompleteJobs As Boolean

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

參數

  • jobUID
    類型:System.Guid

    要取消之工作的 GUID。

  • cancelSendIncompleteJobs
    類型:System.Boolean

    布林值,指出是否要取消傳送的未完成的工作。

請參閱

參照

QueueSystem 類別

QueueSystem 成員

WebSvcQueueSystem 命名空間