Skip to content

Latest commit

 

History

History
44 lines (38 loc) · 1.3 KB

iiisexpressprocessutility.md

File metadata and controls

44 lines (38 loc) · 1.3 KB
title description ms.date ms.assetid
IIISExpressProcessUtility
The IIISExpressProcessUtility obtains information that describes how to locate, start, and stop IIS Express worker processes.
10/07/2016
514fec28-799c-464a-891b-d55bf892877c

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