Retrieving or Changing the Period to Keep Files before Removing

This property is available in EFT Server 5.2 and later.

Use the ICICleanupActionParams interface DaysToKeepFiles property to retrieve or change the number of days to keep files prior to cleanup. Refer to Clean-Up Action Parameters for an illustration of how this and other Cleanup Action Parameters Interface properties can be accessed in the Administrator interface.

Signature:

HRESULT DaysToKeepFiles([out, retval] long *pVal);

HRESULT DaysToKeepFiles([in] long newVal);

Example:

cleanupParams.DaysToKeepFiles = 14 'Remove files older than 2 weeks