次の方法で共有


ILogScripting::GetBytesSent

This method provides the caller with the number of bytes that were sent during the HTTP operation referred to by the current log record.

virtual HRESULT STDMETHODCALLTYPE GetBytesSent(
   VARIANT* pBytesSent
);

Parameters

  • pBytesSent
    [out, retval] Points to a VARIANT that should be set to the number of bytes sent.

Remarks

In order to obtain a meaningful result from this method, the caller must have first used either the ILogScripting::SetInputLogFile or ILogScripting::SetInputServerInstance methods to initialize the log access, and then opened a specific log record with the ILogScripting::ReadLogRecord method.

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