Partager via


IMSAdminBaseSink::ShutdownNotify

The ShutdownNotify method, when implemented in your application, this sink method is called when IISADMIN stops. The metabase will be open during this call, however, so it is possible that handles that prevent you from reading from or writing to portions of the metabase will be open.

HRESULT ShutdownNotify(
);

Parameters

This method has no parameters.

Example Code

Your callback method must implement the following prototype as a minimum:

HRESULT STDMETHODCALLTYPE ShutdownNotify( void)  
{  
  return HRESULT_FROM_WIN32(ERROR_NOT_SUPPORTED);  
} 

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 iadmw.h; include iiscnfg.h.

See Also