Recursive copy media library directory.
Namespace: CMS.MediaLibraryAssembly: CMS.MediaLibrary (in CMS.MediaLibrary.dll) Version: 8.0.0.0 (8.0.5239.26125)
Parameters
- sourceLibraryID
- Type: System Int32
Source library ID
- destinationLibraryID
- Type: System Int32
Destination library ID
- dir
- Type: CMS.IO DirectoryInfo
Directory Info
- destinationDirectory
- Type: System String
Destination path
- sourcePath
- Type: System String
Source DB path
- libraryPathIndex
- Type: System Int32
Library path index
- startingPoint
- Type: System String
Starting point
- copyDB
- Type: System Boolean
Indicate if database entries should copy
- userId
- Type: System Int32
ID of the user performing action
- overwrite (Optional)
- Type: System Boolean
Indicates if the destination folder and files can be overwritten
- cloneSettings (Optional)
- Type: CMS.DataEngine CloneSettings
MediaLibrary clone settings. Only some parameters are used. If null, cloning is not used and FileMediaInfo is inserted as a directly.
- cloneResult (Optional)
- Type: CMS.DataEngine CloneResult
Results of cloning will be stored to this instance
See Also