IsConnected
This command returns a Boolean value of True or False depending on if the Server.Connect command previously executed. If the connection was successful, the value returned is True. If the connection failed, the value returned is false.
Group: Server Extensions
Syntax: bOK = Server.IsConnected
bOK (Boolean) a value of True means there is already an open connection to use.
Example
Dim bOK as Boolean
bOK = Server.IsConnected