예제 #1
0
        /// <summary>
        /// Submits updates into the work item store.
        /// </summary>
        /// <param name="core">Target TFS</param>
        /// <param name="svc">Work item tracking service</param>
        /// <param name="updates">Updates to submit</param>
        /// <returns>Results</returns>
        public static UpdateResult[] Submit(
            TfsCore core,
            ITfsWorkItemServer svc,
            XmlDocument[] updates)
        {
            TraceManager.EnterMethod(core, svc, updates);

            TfsBatchUpdateHelper helper = new TfsBatchUpdateHelper(core, svc, updates);

            helper.Submit(0, updates.Length - 1);
            return(helper.m_results);
        }