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