Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
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 ( _
name As String, _
jobId As Guid, _
subscriptionId As Nullable(Of Guid) _
)
'Usage
Dim name As String
Dim jobId As Guid
Dim subscriptionId As Nullable(Of Guid)
ConversionJob.CancelJob(name, jobId, subscriptionId)
public static void CancelJob(
string name,
Guid jobId,
Nullable<Guid> subscriptionId
)
Parameters
name
Type: System.StringThe user-defined friendly name of the WordServiceApplicationProxy object associated with this 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.