PurgePolicy Property
The file block purging strategy that the cache should use.
Syntax
Default Value
3
Remarks
This property specifies the strategy that the cache should use for purging unmodified blocks of file data from the cache. It must be set to one of the following values:
PURGE_POLICY_NONE | 0 | No automatic purging.
Use the Cleanup method to perform cache cleanup. |
PURGE_POLICY_CLOSE | 1 | Purge files as they are closed (after a delay).
The PurgeAfterCloseDelay property specifies the delay interval. |
PURGE_POLICY_CACHE_CLOSE | 2 | Purge files when the cache is closed. |
PURGE_POLICY_TIME | 3 | Purge files when they haven't been accessed for a certain number of hours.
The PurgeAfterTime property specifies how many hours a file must remain unaccessed for it to be purged. |
Note: This property cannot be changed when Active is true.