Share via


ConversionJob.CancelJob Method (WordServiceApplicationProxy, Guid, Nullable<Guid>)

Cancels the specified conversion job.

Namespace:  Microsoft.Office.Word.Server.Conversions
Assembly:  Microsoft.Office.Word.Server (in Microsoft.Office.Word.Server.dll)

Syntax

'Declaration
Public Shared Sub CancelJob ( _
    serviceApplicationProxy As WordServiceApplicationProxy, _
    jobId As Guid, _
    subscriptionId As Nullable(Of Guid) _
)
'Usage
Dim serviceApplicationProxy As WordServiceApplicationProxy
Dim jobId As Guid
Dim subscriptionId As Nullable(Of Guid)

ConversionJob.CancelJob(serviceApplicationProxy, _
    jobId, subscriptionId)
public static void CancelJob(
    WordServiceApplicationProxy serviceApplicationProxy,
    Guid jobId,
    Nullable<Guid> subscriptionId
)

Parameters

  • jobId
    Type: System.Guid

    A Guid structure that specifies the unique ID for the conversion job that you want to cancel.

  • subscriptionId
    Type: System.Nullable<Guid>

    A Nullable<Guid> structure that specifies the partition ID of the tenant that created this conversion job.

    Note

    If the SharePoint farm is not configured for multiple tenants, pass a null reference (Nothing in Visual Basic) as the argument for this parameter.

See Also

Reference

ConversionJob Class

ConversionJob Members

CancelJob Overload

Microsoft.Office.Word.Server.Conversions Namespace