IUpdateServerConfiguration.LogRolloverFileSizeInBytes Property 

[WSUS 3.0 API - This is prerelease documentation and is subject to change in future releases. Blank topics are included as placeholders.]

Retrieves or sets the size of the log file.

Namespace: Microsoft.UpdateServices.Administration
Assembly: Microsoft.UpdateServices.Administration (in microsoft.updateservices.administration.dll)

Syntax

'Declaration
Property LogRolloverFileSizeInBytes As Integer
'Usage
Dim instance As IUpdateServerConfiguration
Dim value As Integer

value = instance.LogRolloverFileSizeInBytes

instance.LogRolloverFileSizeInBytes = value
int LogRolloverFileSizeInBytes { get; set; }
property int LogRolloverFileSizeInBytes {
    int get ();
    void set (int value);
}
/** @property */
int get_LogRolloverFileSizeInBytes ()

/** @property */
void set_LogRolloverFileSizeInBytes (int value)
function get LogRolloverFileSizeInBytes () : int

function set LogRolloverFileSizeInBytes (value : int)

Property Value

Size of the log file, in bytes. The default is 20000000 bytes (20MB).

Exceptions

Exception type Condition

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.

Platforms

Windows Server 2003

See Also

Reference

IUpdateServerConfiguration Interface
IUpdateServerConfiguration Members
Microsoft.UpdateServices.Administration Namespace

Footer image

Send comments about this topic to Microsoft.