Click or drag to resize
MediaLibraryHelperCloneLibraryFiles Method
Clone media library files and folder to new media library.

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