Compartilhar via


ConversionJobStatus.GetAllActiveJobs Method (String, 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 ( _
    name As String, _
    subscriptionId As Nullable(Of Guid) _
) As ReadOnlyCollection(Of ConversionJobInfo)
'Usage
Dim name As String
Dim subscriptionId As Nullable(Of Guid)
Dim returnValue As ReadOnlyCollection(Of ConversionJobInfo)

returnValue = ConversionJobStatus.GetAllActiveJobs(name, _
    subscriptionId)
public static ReadOnlyCollection<ConversionJobInfo> GetAllActiveJobs(
    string name,
    Nullable<Guid> subscriptionId
)

Parameters

  • 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.

See Also

Reference

ConversionJobStatus Class

ConversionJobStatus Members

GetAllActiveJobs Overload

Microsoft.Office.Word.Server.Conversions Namespace