TempFileInfoProviderDeleteTempFiles Method (String, DateTime) |
Deletes old temporary files from the specified parent folder.
Namespace: CMS.DataEngineAssembly: CMS.DataEngine (in CMS.DataEngine.dll) Version: 13.0.131
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