Programmer's Guide > Interfaces > ScriptContext interface > terminate method
  
terminate method
Terminates and unloads the Microsoft Windows Script engine instance associated with this object. It gives the user the means to close a given script engine instance.
terminate( [immediate] )
Parameters
booleanimmediate
[optional] If true the script context is deleted immediately, if false it is not deleted until the next message cycle, giving running scripts a chance to finish
Returns
void