Click or drag to resize
MediaLibraryInfoProvider.CopyMediaLibraryFolder Method
Copy media library folder.

Namespace: CMS.MediaLibrary
Assembly: CMS.MediaLibrary (in CMS.MediaLibrary.dll) Version: 13.0.131
Syntax
C#
public static void CopyMediaLibraryFolder(
	string siteName,
	int libraryID,
	string origPath,
	string newPath,
	int userId,
	bool synchronization = false,
	bool logSynchronization = true
)

Parameters

siteName
Type: System.String
Site name
libraryID
Type: System.Int32
Library ID
origPath
Type: System.String
Old folder path within the library folder
newPath
Type: System.String
New folder path within the library folder
userId
Type: System.Int32
ID of the user performing the action
synchronization (Optional)
Type: System.Boolean
Indicates if method is running by web farms synchronization
logSynchronization (Optional)
Type: System.Boolean
Indicates if staging task should be logged
See Also