MediaLibraryInfoProviderRenameMediaLibraryFolder Method |
Rename folder within specified library.
Namespace: CMS.MediaLibraryAssembly: CMS.MediaLibrary (in CMS.MediaLibrary.dll) Version: 9.0.0
Syntax 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