ConversionJob.CancelJob Method (Guid, 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 ( _
id As Guid, _
jobId As Guid, _
subscriptionId As Nullable(Of Guid) _
)
'Usage
Dim id As Guid
Dim jobId As Guid
Dim subscriptionId As Nullable(Of Guid)
ConversionJob.CancelJob(id, jobId, subscriptionId)
public static void CancelJob(
Guid id,
Guid jobId,
Nullable<Guid> subscriptionId
)
Parameters
id
Type: System.GuidA Guid structure that specifies the WordServiceApplicationProxy object associated with the ConversionJob object.
jobId
Type: System.GuidA Guid 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.