Connection Setting Keyword Tokens

image\rwnprg32.gif DisconnectScriptFile keyword

 

Keyword/Value syntax

DisconnectScriptFile "<filename>"

Valid in connection types

All

Can change value if connection is open?

Yes

 

Description

A text string containing the name of a script to run when the connection is closed. The script must be a Reflection Basic script.

Values

The default value is "".

Example

Session.ConnectionSettings = "DisconnectScriptFile C:\Mypath\Byebye.rbs"

Session.ConnectionSettings = "DisconnectScriptArgs '1 2 3'"

image\jump.gif ConnectionSettings property

image\jump.gif DisconnectScriptArgs keyword

image\jump.gif Keyword Tokens by Keyword

image\jump.gif Keyword Tokens by Connection Type