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
);
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.
ILogPlugin::InitializeLog, ILogPlugin::QueryExtraLoggingFields