Click or drag to resize
MediaFileInfoProviderDeleteMediaFileInternal Method
Deletes media file from filesystem.

Namespace: CMS.MediaLibrary
Assembly: CMS.MediaLibrary (in CMS.MediaLibrary.dll) Version: 13.0.131
Syntax
C#
protected virtual void DeleteMediaFileInternal(
	int siteID,
	int libraryID,
	string filePath,
	bool onlyFile,
	bool synchronization
)

Parameters

siteID
Type: SystemInt32
Site id
libraryID
Type: SystemInt32
Library id
filePath
Type: SystemString
Sub path to file
onlyFile
Type: SystemBoolean
Indicates if only file should be deleted
synchronization
Type: SystemBoolean
Indicates if method is running by web farms synchronization
See Also