IInetLogInformation::GetSiteName

The IInetLogInformation::GetSiteName method obtains the name of the server instance that is being logged.

virtual LPSTR STDMETHODCALLTYPE GetSiteName(
      IN PCHAR pszSiteName,
      IN PDWORD pcbSize
);

Parameters

  • pszSiteName
    [in] Name of the virtual directory whose activity the logging module is capturing.

  • pcbSize
    [in] Size of the pszSiteName parameter.

Remarks

Logging modules should query for this method if a server instance has set the LogExtFileSiteName flag of the LogExtFileFlags metabase identifier.

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

Header: Declared in ilogobj.hxx.

See Also