MediaLibraryInfoProviderDeleteMediaLibraryFolder Method (String, String, Boolean, Boolean) |
Delete media library root folder from media root directory.
~/[site name]/media/
Namespace: CMS.MediaLibraryAssembly: CMS.MediaLibrary (in CMS.MediaLibrary.dll) Version: 8.2.23
Syntax public static void DeleteMediaLibraryFolder(
string siteName,
string folder,
bool synchronization,
bool logSynchronization = true
)
Parameters
- siteName
- Type: SystemString
Site name - folder
- Type: SystemString
Media library folder - 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