Click or drag to resize
MediaLibraryInfoProviderDeleteMediaLibraryFolder Method (String, String, Boolean, Boolean)
Delete media library root folder from media root directory. ~/[site name]/media/

Namespace: CMS.MediaLibrary
Assembly: CMS.MediaLibrary (in CMS.MediaLibrary.dll) Version: 13.0.131
Syntax
C#
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