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
S_OK
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

IBitsPeerCacheAdministration

IBitsPeerCacheAdministration::SetMaximumContentAge