MediaFileInfoProviderDeleteMediaFileInternal Method |
Deletes media file from filesystem.
Namespace: CMS.MediaLibraryAssembly: CMS.MediaLibrary (in CMS.MediaLibrary.dll) Version: 10.0.0
Syntax 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