ConversionJob.AddFolder Method
Converts the files in the specified input folder by using the conversion settings for the job, and places the results in the specified output folder location.
Namespace: Microsoft.Office.Word.Server.Conversions
Assembly: Microsoft.Office.Word.Server (in Microsoft.Office.Word.Server.dll)
Syntax
'Declaration
Public Sub AddFolder ( _
inputFolder As SPFolder, _
outputFolder As SPFolder, _
recursion As Boolean _
)
'Usage
Dim instance As ConversionJob
Dim inputFolder As SPFolder
Dim outputFolder As SPFolder
Dim recursion As Boolean
instance.AddFolder(inputFolder, outputFolder, _
recursion)
public void AddFolder(
SPFolder inputFolder,
SPFolder outputFolder,
bool recursion
)
Parameters
inputFolder
Type: Microsoft.SharePoint.SPFolderAn SPFolder object that specifies the input folder for the conversion job.
outputFolder
Type: Microsoft.SharePoint.SPFolderAn SPFolder that specifies the output folder for the conversion job.
recursion
Type: System.Booleantrue to indicate that files in the subfolders of the specified input folder should also be converted; otherwise, false.
Note
If this flag is used, the directory structure is automatically recreated within the output folder.