IIisServiceControl::Kill
The IIisServiceControl::Kill method stops all Internet services (services dependent on IISADMIN) using the TerminateProcess() function.
STDMETHODIMP Kill(
);
Parameters
This method has no parameters.
Return Values
This method returns ERROR_RESOURCE_DISABLED if remote access is disabled. Otherwise, the COM status is returned.
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 iisrsta.h.