Поделиться через


Метод 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