Connection Setting Keyword Tokens
DisconnectScriptFile
keyword
Keyword/Value syntax |
DisconnectScriptFile "<filename>" |
Valid in connection types |
All |
Can change value if connection is open? |
Yes |
A text string containing the name of a script to run when the connection is closed. The script must be a Reflection Basic script.
The default value is "".
Session.ConnectionSettings = "DisconnectScriptFile C:\Mypath\Byebye.rbs"
Session.ConnectionSettings = "DisconnectScriptArgs '1 2 3'"