This document is archived and information here might be outdated. Recommended version. |
ArcObjects Help for .NET developers > ArcObjects namespaces > Server > ESRI.ArcGIS.Server > Interfaces > IS > IServerDirectory Interface > IServerDirectory.MaxFileAge Property (ArcObjects .NET 10.5 SDK) |
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 Property MaxFileAge As Integer
[C#] public int MaxFileAge {get; set;}
[C++]
HRESULT get_MaxFileAge(
long* pAge
);
[C++]
HRESULT put_MaxFileAge(
long pAge
);
[C++]
Parameters pAge [out, retval] pAge is a parameter of type long pAge [in] pAge is a parameter of type long
MaxFileAge is specified in seconds.