ILogScripting::SetInputLogFile
This method enables the caller to specify the log file that should be read by your custom logging module.
virtual HRESULT STDMETHODCALLTYPE SetInputLogFile(
BSTR szInputLogFileName,
DATE startDateTime,
DATE endDateTime
);
Parameters
szInputLogFileName
[in] A null-terminated string that contains the name of the log file to be read.startDateTime
[in] Specifies the starting date and time.endDateTime
[in] Specifies the ending date and time.
Remarks
The caller is free to call eitherILogScripting:SetInputLogFile or ILogScripting::SetInputServerInstance. It is not necessary, nor is it proper, for the caller to call both ILogScripting::Set... methods in the same attempt to read a log file. The second ILogScripting::Set... call will simply reset the read initiated by the first call.
After this method is called, the caller is obliged to call ILogScripting::ReadLogRecord before calling any of the ILogScripting::Get... methods.
Requirements
Client: Requires Windows XP Professional, Windows 2000 Professional, or Windows NT Workstation 4.0.
Server: Requires Windows Server 2003, Windows 2000 Server, or Windows NT Server 4.0.
Product: IIS