IIISExpressProcessUtility

Obtains information that describes how to locate, start, and stop IIS Express worker processes.

Syntax

interface IIISExpressProcessUtility : IUnknown  
{  
    HRESULT  
    GetRunningProcessForSite(   
        [in] BSTR    bstrSite,   
        [in] BSTR    bstrApplication,   
        [in] BSTR    bstrApplicationPool,   
        [in] BSTR    bstrConfigPath,   
        [out, retval] DWORD * pdwPid  
    );  
  
    HRESULT  
    ConstructCommandLine(   
        [in] BSTR bstrSite,  
        [in] BSTR bstrApplication,  
        [in] BSTR bstrApplicationPool,   
        [in] BSTR bstrConfigPath,   
        [out, retval] BSTR * pbstrCommandLine  
    );  
  
    HRESULT  
    StopProcess(   
        [in] DWORD dwPid  
    );  
};  
  

See Also

GetRunningProcessForSite
ConstructCommandLine
StopProcess