MediaFileInfoProviderDeleteMediaFilePreview Method |
Deletes media file preview from file system.
Namespace: CMS.MediaLibraryAssembly: CMS.MediaLibrary (in CMS.MediaLibrary.dll) Version: 8.2.23
Syntax 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