示例#1
0
        public List <string> FindApplication(string qbName)
        {
            var findDb = new FindDbByName(Ticket, AccountDomain, qbName);
            var xml    = findDb.Post();

            var dbids = new List <string>();

            foreach (XElement node in xml.Elements("dbid"))
            {
                dbids.Add(node.Value);
            }
            return(dbids);
        }
示例#2
0
        public List <string> FindApplication(string qbName)
        {
            var findDb = new FindDbByName(Ticket, AccountDomain, qbName);
            var xml    = findDb.Post().CreateNavigator();

            var nodes = xml.Select("/qdbapi/dbid");
            var dbids = new List <string>();

            foreach (XPathNavigator node in nodes)
            {
                dbids.Add(node.Value);
            }
            return(dbids);
        }