TranslationJobStatus.GetAllJobs method (SPServiceContext, TranslationJobUserScope)
Gets all jobs and returns a list of objects describing those jobs.
Namespace: Microsoft.Office.TranslationServices
Assembly: Microsoft.Office.TranslationServices (in Microsoft.Office.TranslationServices.dll)
Syntax
'Declaration
Public Shared Function GetAllJobs ( _
context As SPServiceContext, _
userScope As TranslationJobUserScope _
) As ReadOnlyCollection(Of TranslationJobInfo)
'Usage
Dim context As SPServiceContext
Dim userScope As TranslationJobUserScope
Dim returnValue As ReadOnlyCollection(Of TranslationJobInfo)
returnValue = TranslationJobStatus.GetAllJobs(context, _
userScope)
public static ReadOnlyCollection<TranslationJobInfo> GetAllJobs(
SPServiceContext context,
TranslationJobUserScope userScope
)
Parameters
context
Type: Microsoft.SharePoint.SPServiceContextThe SPServiceContext associated with the jobs.
userScope
Type: Microsoft.Office.TranslationServices.TranslationJobUserScopeUser scope for which to request jobs.
Return value
Type: System.Collections.ObjectModel.ReadOnlyCollection<TranslationJobInfo>
List of TranslationJobInfo objects.