Click or drag to resize
MediaLibraryInfoProviderCopyMediaLibraryFolder Method (String, Int32, String, String, Boolean, Boolean, Int32)

Note: This API is now obsolete.

Copy media library folder.

Namespace: CMS.MediaLibrary
Assembly: CMS.MediaLibrary (in CMS.MediaLibrary.dll) Version: 8.2.23
Syntax
C#
[ObsoleteAttribute("This method is obsolete. Use CopyMediaLibraryFolder(string siteName, int libraryID, string origPath, string newPath, int userId, bool synchronization = false, bool logSynchronization = true) method instead.")]
public static void CopyMediaLibraryFolder(
	string siteName,
	int libraryID,
	string origPath,
	string newPath,
	bool synchronization = false,
	bool logSynchronization = true,
	int userId = 0
)

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 (Optional)
Type: SystemBoolean
Indicates if method is running by web farms synchronization
logSynchronization (Optional)
Type: SystemBoolean
Indicates if staging task should be logged
userId (Optional)
Type: SystemInt32
ID of the user performing the action
See Also