Click or drag to resize
MediaLibraryInfoProviderDeleteMediaLibraryFolder Method (String, Int32, String, Boolean, Boolean)
Delete folder from media library.

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