Click or drag to resize
MediaLibraryInfoProviderCopyMediaLibraryFolderInternal Method
Copy media library folder.

Namespace: CMS.MediaLibrary
Assembly: CMS.MediaLibrary (in CMS.MediaLibrary.dll) Version: 12.0.0
Syntax
C#
protected virtual void CopyMediaLibraryFolderInternal(
	string siteName,
	int libraryID,
	string origPath,
	string newPath,
	bool synchronization,
	bool logSynchronization,
	int userId,
	Dictionary<Guid, Guid> fileGUIDs
)

Parameters

siteName
Type: SystemString
Site name
libraryID
Type: SystemInt32
Library ID
origPath
Type: SystemString
Old folder path within the library folder
newPath
Type: SystemString
New folder path within the library folder
synchronization
Type: SystemBoolean
Indicates if method is running by web farms synchronization
logSynchronization
Type: SystemBoolean
Indicates if staging task should be logged
userId
Type: SystemInt32
ID of the user performing the action
fileGUIDs
Type: System.Collections.GenericDictionaryGuid, Guid
List of original file GUIDs and their copied ones when staging is used
See Also