Engine.ShutDown ( final)
Attempts to close all open sequence files and terminate all executions.
If you are writing a user interface that does not use the TestStand User Interface (UI) Controls, call this function before exiting the application.
TestStand sends a UIMsg_ShutDownComplete message to notify you when the shut down is complete. Refer to Shutting Down the Engine for information about the procedure for shutting down the engine.
final As Boolean
[In] Pass True when performing the final shutdown before exiting the application. Passing False permits the user to cancel shutdown when executions are still running.