예제 #1
0
        public IEnumerable<TfsItem> GetTasksByQueryId(string queryId)
        {
            TfsProjects tp = new TfsProjects(ProjectHelper.TfsContext);
            TfsQueries _query = new TfsQueries(tp);

            return _query.ExecuteQuery(new Guid(queryId));
        }
예제 #2
0
        private static IEnumerable<TfsItem> GetTfsTasks()
        {
            TfsProjects tp = new TfsProjects(new TfsConfigurationContext());
            TfsQueries query = new TfsQueries(tp);
            var tasks = query.ExecuteQuery(new Guid("528b8489-8649-4324-bc66-cbf8d1ea84a7"));

            return tasks;

        }