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
serviceApplicationProxy
Type: Microsoft.Office.Word.Server.Service.WordServiceApplicationProxyA WordServiceApplicationProxy object that specifies which Word Services application proxy instance is associated with the ConversionJob object.
jobId
Type: System.GuidA 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.