Share via


QueueSystem.CancelJobAndCorrelation method

Cancels the selected job or jobs, as well as any related sub-jobs.

Namespace:  WebSvcQueueSystem
Assembly:  ProjectServerServices (in ProjectServerServices.dll)

Syntax

'Declaration
<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 _
)
'Usage
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
)

Parameters

  • jobUID
    Type: System.Guid

    The GUID of the job to be cancelled.

  • cancelSendIncompleteJobs
    Type: System.Boolean

    A Boolean value that indicates whether to cancel the sending of incomplete jobs.

See also

Reference

QueueSystem class

QueueSystem members

WebSvcQueueSystem namespace