This document is archived and information here might be outdated.  Recommended version.

IServerDirectoryInfo.MaxFileAge Property (ArcObjects .NET 10.8 SDK)
ArcObjects Help for .NET developers > ArcObjects Help for .NET developers > ArcObjects namespaces > Server > ESRI.ArcGIS.Server > Interfaces > IS > IServerDirectoryInfo Interface > IServerDirectoryInfo.MaxFileAge Property
ArcGIS Developer Help

IServerDirectoryInfo.MaxFileAge Property

The maximum age (in seconds) a file can be in the server directory before it is deleted, if the cleaning mode is by file age.

[Visual Basic .NET]
Public ReadOnly Property MaxFileAge As Integer
public int MaxFileAge {get;}
HRESULT get_MaxFileAge(
  System.Int32* pAge
pAge [out, retval]

pAge is a parameter of type long*

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.


MaxFileAge is in seconds.

See Also

IServerDirectoryInfo Interface