ConversionJobStatus.GetAllActiveJobs Method (WordServiceApplicationProxy, Nullable<Guid>)
Gets all conversion jobs with one or more active conversion items (that is, conversion items whose status is InProgress or NotStarted).
Namespace: Microsoft.Office.Word.Server.Conversions
Assembly: Microsoft.Office.Word.Server (in Microsoft.Office.Word.Server.dll)
Syntax
'Declaration
Public Shared Function GetAllActiveJobs ( _
serviceApplicationProxy As WordServiceApplicationProxy, _
subscriptionId As Nullable(Of Guid) _
) As ReadOnlyCollection(Of ConversionJobInfo)
'Usage
Dim serviceApplicationProxy As WordServiceApplicationProxy
Dim subscriptionId As Nullable(Of Guid)
Dim returnValue As ReadOnlyCollection(Of ConversionJobInfo)
returnValue = ConversionJobStatus.GetAllActiveJobs(serviceApplicationProxy, _
subscriptionId)
public static ReadOnlyCollection<ConversionJobInfo> GetAllActiveJobs(
WordServiceApplicationProxy serviceApplicationProxy,
Nullable<Guid> subscriptionId
)
Parameters
serviceApplicationProxy
Type: Microsoft.Office.Word.Server.Service.WordServiceApplicationProxyA WordServiceApplicationProxy object that specifies the Word Automation Services application proxy instance that serviced the conversion jobs returned by this method.
subscriptionId
Type: System.Nullable<Guid>A Nullable<Guid> structure that specifies a tenant partition.
Note
If the SharePoint farm is not configured for multiple tenants, then pass a null reference (Nothing in Visual Basic) as the argument for this parameter.
Return Value
Type: System.Collections.ObjectModel.ReadOnlyCollection<ConversionJobInfo>
A ReadOnlyCollection<T> object.
Remarks
The collection of Guid structures returned by this method is scoped to a single partition. Each GUID corresponds to the JobId of a ConversionJob object with active conversion items.