IBitsPeerCacheAdministration::GetMaximumContentAge method (bits3_0.h)
Gets the age by when files are removed from the cache.
Syntax
HRESULT GetMaximumContentAge(
[out] ULONG *pSeconds
);
Parameters
[out] pSeconds
Age, in seconds. If the last time that the file was accessed is older than this age, BITS removes the file from the cache.
Return value
The method returns the following return values.
Return code | Description |
---|---|
|
Success |
Requirements
Requirement | Value |
---|---|
Minimum supported client | Windows Vista |
Minimum supported server | Windows Server 2008 |
Target Platform | Windows |
Header | bits3_0.h (include Bits.h) |
Library | Bits.lib |
See also
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for