Partager via


ILogPlugin::InitializeLog

The ILogPlugin::InitializeLog method initializes a plug-in module for a particular virtual server. The plug-in module reads configuration data from the key specified in the MetabasePath parameter.

virtual HRESULT STDMETHODCALLTYPE InitializeLog(
   IN LPCSTR SiteName,
   IN LPCSTR MetabasePath,
   IN PCHAR pvIMDCOM
);

Parameters

  • SiteName
    [in] Identifies the virtual directory that will send log objects to the logging module.

  • MetabasePath
    [in] Specifies the metabase path for the logging key. To access the metabase, create an instance of the IMSAdminBase interface in another thread and let the original thread continue so it releases the critical section.

  • pvIMDCOM
    [in] Reserved pointer for internal use only.

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