|Download Help (Windows Only)|
EngineInitializationSettings.SetEnvironmentPath ( path)
Specify the environment configuration (.tsenv) file to use to initialize the TestStand engine. Pass an empty string to specify the global environment.
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.
path As String
[In] Specifies the absolute path of environment configuration (.tsenv) file from which to initialize the TestStand engine.