MediaLibraryHelperCloneLibraryFiles Method |
Clone media library files and folder to new media library.
Namespace: CMS.MediaLibraryAssembly: CMS.MediaLibrary (in CMS.MediaLibrary.dll) Version: 10.0.0
Syntax public static void CloneLibraryFiles(
int sourceLibraryID,
int destinationLibraryID,
CloneSettings cloneSettings,
CloneResult cloneResult
)
Parameters
- sourceLibraryID
- Type: SystemInt32
Source library ID - destinationLibraryID
- Type: SystemInt32
Destination library ID - cloneSettings
- Type: CMS.DataEngineCloneSettings
MediaLibrary clone settings. Only some parameters are used - cloneResult
- Type: CMS.DataEngineCloneResult
Results of cloning will be stored to this instance
See Also