ApplyIISEnvironmentVariables
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
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for