Bemærk
Adgang til denne side kræver godkendelse. Du kan prøve at logge på eller ændre mapper.
Adgang til denne side kræver godkendelse. Du kan prøve at ændre mapper.
Returns the process ID of the worker process when the parameters of this function match the parameters for the current user specified by the ConstructCommandLine function.
Syntax
HRESULT
GetRunningProcessForSite(
[in] BSTR bstrSite,
[in] BSTR bstrApplication,
[in] BSTR bstrApplicationPool,
[in] BSTR bstrConfigPath,
[out, retval] DWORD * pdwPid
);
Parameters
[in]
bstrSiteThe name of the site.
[in]
bstrApplicationThe name of the application.
[in]
bstrApplicationPoolThe name of the application pool.
[in]
bstrConfigPathThe path to the configuration files.
[out, retval]
* pdwPidThe process ID of the worker process.
Return Value
HRESULT