public DBConnection ResetConnection(DBConnection conn, ServerInfo sinfo)
        {
            if (sinfo == null)
            {
                return(conn);
            }

            AddinBackend.ResetConnection(conn, sinfo.Host, sinfo.Port);

            return(conn);
        }
        public DBConnection ResetConnection(DBConnection conn, ServerInfo sinfo, string username, string password)
        {
            if (sinfo == null)
            {
                return(conn);
            }

            AddinBackend.ResetConnection(conn, sinfo.Host, sinfo.Port);
            AddinBackend.RunScript(conn, "login(" + username + ',' + password + ");");

            return(conn);
        }