Skip to main content
ATL Server Library Reference 
IPageCacheControl::SetExpiration 

Call this method to specify the time at which the current response should be removed from the cache.


HRESULT SetExpiration(
   FILETIME ftExpiration 
);

Parameters

ftExpiration

The time at which the current response should be removed from the cache.

Returns S_OK on success or an error HRESULT on failure.