Click or drag to resize
ExportProviderCopyDirectory Method (String, String, String, String)
Copies specified directory including its sub-directories and all underlying files.

Namespace: CMS.CMSImportExport
Assembly: CMS.ImportExport (in CMS.ImportExport.dll) Version: 9.0.0
Syntax
C#
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