ILogScripting::SetInputServerInstance
This method enables the caller to specify which server's log files should be read by your custom logging module. This is accomplished by passing ILogScripting::SetInputServerInstance the metabase instance number of the server.
virtual HRESULT STDMETHODCALLTYPE SetInputServerInstance(
LONG iServerInstance,
DATE startDateTime,
DATE endDateTime
);
Parameters
iServerInstance
[in] A LONG that specifies the server instance number.startDateTime
[in] Specifies the starting date and time.endDateTime
[in] Specifies the ending date and time.
Remarks
The caller is free to call eitherILogScripting:SetInputServerInstance or ILogScripting::SetInputLogFile. 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