Disconnect
This command disconnects from the remote server. You should always use this command when you know the connection is no longer needed. Using the Form_Unload event may be a good place.
Group: Server Extensions
                                            
Syntax:   [bOK =] Server.Disconnect
        
bOK (Boolean) Optional – return a True if the mobile device disconnects from the host.
Example:
Dim bOK as Boolean
bOK = Server.Disconnect