TranslationJob.AddLibrary method
Adds all files in the inputList to the list of files to translate.
Namespace: Microsoft.Office.TranslationServices
Assembly: Microsoft.Office.TranslationServices (in Microsoft.Office.TranslationServices.dll)
Syntax
'Declaration
Public Function AddLibrary ( _
inputList As SPList, _
outputList As SPList _
) As Boolean
'Usage
Dim instance As TranslationJob
Dim inputList As SPList
Dim outputList As SPList
Dim returnValue As Boolean
returnValue = instance.AddLibrary(inputList, _
outputList)
public bool AddLibrary(
SPList inputList,
SPList outputList
)
Parameters
- inputList
Type: Microsoft.SharePoint.SPList
- outputList
Type: Microsoft.SharePoint.SPList
Return value
Type: System.Boolean
true if at least one file in the library is added to the job; otherwise, false.
Remarks
After translating the files, place all resulting files in outputList. If recursion is true, then all subdirectories of inputList are traversed, and the directory structure of the crawl is replicated under the outputList.