MediaFileInfoProviderDeleteMediaFiles Method |
Deletes file records of files matching specified criteria.
Namespace: CMS.MediaLibraryAssembly: CMS.MediaLibrary (in CMS.MediaLibrary.dll) Version: 12.0.0
Syntax public static void DeleteMediaFiles(
string path,
int libraryId
)
Parameters
- path
- Type: SystemString
Path of the files to delete - libraryId
- Type: SystemInt32
ID of the library where the files belongs to
See Also