ILogUIPlugin::OnProperties

The ILogUIPlugin::OnProperties method is invoked by IIS when the administrator clicks Properties... on the site tab of the server Properties dialog in the MMC.

virtual HRESULT STDMETHODCALLTYPE OnProperties(

  OLECHAR * pocComputerName,  // name of computer on which server is running

  OLECHAR * pocMetabasePath // metabase path to server

);

 

Parameters
pocComputerName
[in] Pointer to a Unicode character array that specifies the name of the machine on which the server is running.
pocMetabasePath
[in] Pointer to Unicode character array that specifies the metabase path to the Web or FTP server.
Remarks

After your implementation of ILogUIPlugin::OnProperties completes execution, IIS checks whether certain metabase keys have been written to and, if so, will reload the instance of your custom logging module that is assigned to the affected Web or FTP server. This reload, which includes invocation of the custom logging module's ILogPlugin::InitializeLog and ILogPlugin::QueryExtraLoggingFields methods, allows your logging module to re-initialize itself with any values in the metabase that might have been changed by the user interface module.

The metabase keys that IIS checks are those that begin with “Log” except for the “LogExt” metabase keys.

See Also

ILogPlugin::InitializeLog, ILogPlugin::QueryExtraLoggingFields