IUpdateServerConfiguration.LogRolloverFileSizeInBytes
Retrieves or sets the size of the log file.
public Int32 LogRolloverFileSizeInBytes {get; set;}
Public Property LogRolloverFileSizeInBytes As Int32
Property Value
Size of the log file, in bytes. The default is 20000000 bytes (20MB).
Exceptions
Exception type | Condition |
---|---|
System.ArgumentOutOfRangeException | The value must be greater than zero. |
Remarks
When the current log file reaches the specified file size, WSUS renames the log file to include a ".bak" extension and creates a new log file with the original name. If a log file with the .bak extension already exists, WSUS overwrites the file.
Requirements
Server | Requires Windows Server 2003 or Windows 2000 Server SP4 and later. |
Namespace | Defined in Microsoft.UpdateServices.Administration. |
Assembly | Requires Microsoft.UpdateServices.Administration (in Microsoft.UpdateServices.Administration.dll). |
.NET Framework | Requires .NET Framework 1.1. |