ExportProviderCopyDirectory Method (String, String, String, String) |
Copies specified directory including its sub-directories and all underlying files.
Namespace: CMS.CMSImportExportAssembly: CMS.ImportExport (in CMS.ImportExport.dll) Version: 13.0.131
Syntax public static void CopyDirectory(
string sourcePath,
string targetPath,
string[] excludedDirs,
string websitePath
)
Parameters
- sourcePath
- Type: SystemString
Full disk path of the source directory - targetPath
- Type: SystemString
Full disk path of the new copy of the directory including its name - excludedDirs
- Type: SystemString
Sub-directories to be excluded - websitePath
- Type: SystemString
Web site path
See Also