Поделиться через


ILogScripting::WriteLogRecord

The WriteLogRecord method writes a record to the log file.

virtual HRESULT STDMETHODCALLTYPE WriteLogRecord(
   LogScripting oLogScripting
);

Parameters

  • oLogScripting
    [in] An instance of an ILogScripting object that is used to read records from the log file.

Remarks

To use the WriteLogRecord method:

  1. Create an ILogScripting object called objR to read records from a log file.

  2. Create an ILogScripting object called objW to write records to a log file.

  3. Use objW.WriteLogRecord(objR) to write the record currently pointed to by objR.

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

See Also