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 命名空间