Click or drag to resize
MediaFileInfoProviderDeleteMediaFilePreview Method
Deletes media file preview from file system.

Namespace: CMS.MediaLibrary
Assembly: CMS.MediaLibrary (in CMS.MediaLibrary.dll) Version: 11.0.0
Syntax
C#
public static void DeleteMediaFilePreview(
	string siteName,
	int libraryId,
	string filePath,
	bool synchronization = false
)

Parameters

siteName
Type: SystemString
Site name
libraryId
Type: SystemInt32
Library ID
filePath
Type: SystemString
File path
synchronization (Optional)
Type: SystemBoolean
Indicates if method is running by web farms synchronization
See Also