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: 10.0.0
Syntaxpublic 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