EngineInitializer.SetEnvironmentPath
- Updated2024-10-09
- 1 minute(s) read
EngineInitializer.SetEnvironmentPath
Syntax
EngineInitializer.SetEnvironmentPath
Purpose
Specify the environment configuration (.tsenv) file to use to initialize the TestStand engine. Pass an empty string to specify the global environment.
Remarks
Calling SetEnvironmentPath is unnecessary if you wish to run in the global environment. If no call to SetEnvironmentPath has been made prior to startup, the engine defaults to the global environment. You may call SetEnvironmentPath multiple times before creating the TestStand engine. Each call supersedes the prior calls.
SetEnvironmentPath throws an exception if you call it after the engine has already been created.