Share via


VariationsTranslationTimerJob.ExportItemsRequiringTranslation method

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.Client.TranslationServices
Assembly:  Microsoft.Office.Client.TranslationServices (in Microsoft.Office.Client.TranslationServices.dll)

Syntax

'Declaration
Public Shared Sub ExportItemsRequiringTranslation ( _
    context As ClientRuntimeContext, _
    list As String, _
    addressesToEmail As String() _
)
'Usage
Dim context As ClientRuntimeContext
Dim list As String
Dim addressesToEmail As String()

VariationsTranslationTimerJob.ExportItemsRequiringTranslation(context, _
    list, addressesToEmail)
public static void ExportItemsRequiringTranslation(
    ClientRuntimeContext context,
    string list,
    string[] addressesToEmail
)

Parameters

  • addressesToEmail
    Type: []

    Email addresses that should be notified when the operation is completed.

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

Microsoft.Office.Client.TranslationServices namespace