[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:
ConstantValueDescription
ForReading1Closes log files that have been opened for reading.
ForWriting2Closes log files that have been opened for writing.
AllOpenFiles32Closes all open log files.
Example

Please see the example for OpenLogFile.


© 1997-2001 Microsoft Corporation. All rights reserved.