IIISExpressProcessUtility

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

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

Reference

GetRunningProcessForSite

ConstructCommandLine

StopProcess