Sets the value of the MaxSavedItemAge property.
void SetMaxSavedItemAge( long lSeconds ); |
The maximum age of an object in seconds. Any objects which have been unused for this time or longer will be purged from the cache when it is saved. If the value is 0 or negative, then objects will not be limited with regard to age.
Header: rtdhandles.h
PersistentHandleCache<T> Class | PersistentHandleCache<T> Methods | SetMaxSavedItemAgeDays | GetMaxSavedItemAge