MediaLibraryInfoProviderDeleteMediaLibraryFolder Method (String, Int32, String, Boolean, Boolean) |
Delete folder from media library.
Namespace: CMS.MediaLibraryAssembly: CMS.MediaLibrary (in CMS.MediaLibrary.dll) Version: 8.2.23
Syntax public static void DeleteMediaLibraryFolder(
string siteName,
int libraryID,
string folderPath,
bool synchronization,
bool logSynchronization = true
)
Parameters
- siteName
- Type: SystemString
Site name - libraryID
- Type: SystemInt32
Media library ID - folderPath
- Type: SystemString
Path to the folder within the library - synchronization
- Type: SystemBoolean
Indicates if method is running by web farms synchronization - logSynchronization (Optional)
- Type: SystemBoolean
Indicates if staging task should be logged
See Also