Compartilhar via


QueueSystem.CancelJobAndCorrelation método

Cancela o trabalho selecionado ou trabalhos, assim como todos os subsites trabalhos relacionados.

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

Sintaxe

'Declaração
<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 _
)
'Uso
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
)

Parâmetros

  • jobUID
    Tipo: System.Guid

    O GUID do trabalho a ser cancelada.

  • cancelSendIncompleteJobs
    Tipo: System.Boolean

    Um valor Boolean que indica se deseja cancelar o envio de trabalhos incompletos.

Ver também

Referência

QueueSystem classe

QueueSystem membros

WebSvcQueueSystem namespace