Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Injects dynamic environment variables into the current process that would otherwise have been injected into a running worker process.
Syntax
HRESULT
ApplyIISEnvironmentVariables();
Return Value
HRESULT
Remarks
Examples of environment variables that this method can inject include %IIS_BIN%
and %IIS_USER_HOME
. This function can be useful if you are trying to process an IIS Express configuration file and must resolve an environment variable that has been declared within the file.
See Also
GetPropertyValue
CreateObjectFromProgId
CreateObjectFromCLSID
ClearIISEnvironmentVariables
ApplyManifestContext
ClearManifestContext