This documentation is archived and is not being maintained.
EventLogConfiguration::MaximumSizeInBytes Property
Visual Studio 2008
Gets or sets the maximum size, in bytes, that the event log file is allowed to be. When the file reaches this maximum size, it is considered full.
Assembly: System.Core (in System.Core.dll)
public: property long long MaximumSizeInBytes { long long get (); void set (long long value); }
Property Value
Type: System::Int64Returns a long value that represents the maximum size, in bytes, that the event log file is allowed to be.
If the value of this property is changed, call the SaveChanges method to save the changes.
Windows 7, Windows Vista, Windows Server 2008 R2, Windows Server 2008
The .NET Framework and .NET Compact Framework do not support all versions of every platform. For a list of the supported versions, see .NET Framework System Requirements.
Show: