Share via


VariationsTranslationTimerJob.ExportItemsRequiringTranslation method (SPList, IEnumerable<String>)

Creates a work item for the timer job to export all items in the list that currently require translation to an XLIFF translation package.

Namespace:  Microsoft.Office.TranslationServices
Assembly:  Microsoft.Office.TranslationServices (in Microsoft.Office.TranslationServices.dll)

Syntax

'Declaration
Public Shared Sub ExportItemsRequiringTranslation ( _
    list As SPList, _
    addressesToEmail As IEnumerable(Of String) _
)
'Usage
Dim list As SPList
Dim addressesToEmail As IEnumerable(Of String)

VariationsTranslationTimerJob.ExportItemsRequiringTranslation(list, _
    addressesToEmail)
public static void ExportItemsRequiringTranslation(
    SPList list,
    IEnumerable<string> addressesToEmail
)

Parameters

Exceptions

Exception Condition
ArgumentException

InvalidOperationException

The list is not configured for translation.

UnauthorizedAccessException

The current user has insufficient permissions.

Remarks

The resulting translation package can be downloaded from the translation packages library on the root web of the site collection. The download link will be included in the email sent after the operation completes. The current user must have the CancelCheckout permission to perform the operation.

See also

Reference

VariationsTranslationTimerJob class

VariationsTranslationTimerJob members

ExportItemsRequiringTranslation overload

Microsoft.Office.TranslationServices namespace