TempFileInfoProviderDeleteTempFiles Method (String, DateTime) |
Deletes old temporary files from the specified parent folder.` `.
Namespace: CMS.DataEngineAssembly: CMS.DataEngine (in CMS.DataEngine.dll) Version: 8.2.23
Syntax public static void DeleteTempFiles(
string parentFolder,
DateTime olderThan
)
Parameters
- parentFolder
- Type: SystemString
Parent folder which is located under the temporary files root folder - olderThan
- Type: SystemDateTime
All temporary files older than this date/time are deleted
See Also