|  | 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 > IServerObjectFactoryX Interface > IServerObjectFactoryX.SetMaxLogFileSize Method (ArcObjects .NET 10.5 SDK) | 
Sets the maximum size of the log file.
[Visual Basic .NET] Public Sub SetMaxLogFileSize ( _ ByVal maxLogFileSize As Integer _ )
[C#] public void SetMaxLogFileSize ( int maxLogFileSize );
[C++]
HRESULT SetMaxLogFileSize(
  long maxLogFileSize
);
[C++]
Parameters maxLogFileSize [in] maxLogFileSize is a parameter of type long