IEnvironmentVariableService.RetrieveEnvironmentVariableValue(String) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Retrieves the current value of an environment variable.
public string RetrieveEnvironmentVariableValue (string environmentVariableSchemaName);
abstract member RetrieveEnvironmentVariableValue : string -> string
Public Function RetrieveEnvironmentVariableValue (environmentVariableSchemaName As String) As String
Parameters
- environmentVariableSchemaName
- String
The (schema) name of the environment variable.
Returns
The variable's current value.