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