Ejemplo n.º 1
0
        private static int RunWorkItems(WorkItemsCommandLineOptions options)
        {
            VssConnection connection             = CreateConnection(options);
            ISink         sink                   = CreateSink("workitems", options);
            WorkItemTrackingHttpClient witClient = connection.GetClient <WorkItemTrackingHttpClient>();

            Task task = new WorkItemManager(witClient).WriteWorkItemDetails(sink);

            task.Wait();
            return(0);
        }