Click or drag to resize
MediaFileInfoProviderDeleteMediaFiles Method
Deletes file records of files matching specified criteria.

Namespace: CMS.MediaLibrary
Assembly: CMS.MediaLibrary (in CMS.MediaLibrary.dll) Version: 8.2.23
Syntax
C#
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