[This is preliminary documentation and subject to change]

### CloseLogFiles

This method causes the Logging Utility Component component to close open log files.

###### Syntax

OIISLog.CloseLogFiles(IOMode)

###### Parameters

IOMode
  A Long that indicates which log file or files should be closed. It can take one of the following values:

  Constant | Value | Description
  ForReading | 1 | Closes log files that have been opened for reading.
  ForWriting | 2 | Closes log files that have been opened for writing.
  AllOpenFiles | 32 | Closes all open log files.

###### Example

Please see the example for OpenLogFile.

© 1997-2001 Microsoft Corporation. All rights reserved.