ConstructCommandLine

Returns the command line that starts an IIS Express instance using the specified options.

    HRESULT
    ConstructCommandLine( 
        [in] BSTR bstrSite,
        [in] BSTR bstrApplication,
        [in] BSTR bstrApplicationPool, 
        [in] BSTR bstrConfigPath, 
        [out, retval] BSTR * pbstrCommandLine
    );

Parameters

  • [in] bstrSite

    The name of the site.

  • [in] bstrApplication

    The name of the application.

  • [in] bstrApplicationPool

    The name of the application pool.

  • [in] bstrConfigPath

    The path to the configuration files.

  • [out, retval] * pbstrCommandLine

    The command line that starts an IIS Express instance.

Return Value

HRESULT

See Also

Reference

GetRunningProcessForSite

StopProcess