Click or drag to resize
MediaLibraryInfoProviderDeleteMediaLibraryFolderInternal 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: 8.2.23
Syntax
C#
protected virtual void DeleteMediaLibraryFolderInternal(
	string siteName,
	string folder,
	bool synchronization,
	bool logSynchronization
)

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
Type: SystemBoolean
Indicates if staging task should be logged
See Also