Click or drag to resize
MediaLibraryInfoProviderRenameMediaLibraryFolder Method
Rename folder within specified library.

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

Parameters

siteName
Type: SystemString
Site name
libraryID
Type: SystemInt32
Library ID
folderPath
Type: SystemString
Original folder path
newFolderPath
Type: SystemString
New folder path
synchronization (Optional)
Type: SystemBoolean
Indicates if method is running by web farms synchronization
logSynchronization (Optional)
Type: SystemBoolean
Indicates if staging task should be logged
See Also