Monday, July 10, 2006

Manually Update TFS Warehouse Utility (with C# Source)

Eric Lee - A Humble Blog - Updating the TFS Warehouse

"...The Team Foundation Server Data Warehouse updates itself every couple of hours by default....

However, there are times when you want to update the warehouse on demand. Maybe you’re giving a demonstration, or maybe you’re debugging an adapter you’ve written or maybe you just need the most up to date method.
...
To make this a little easier, I thought I would write a small utility to kick off the run and monitor its status for me. This little utility is shown below:



Once you select the right TFS, press the Update button and the utility should take care of kicking off a run and polling until the warehouse is idle again. I posted the source here ..."


There have been times where this could have come in handy... Plus it’s a cool example of using the TFS API to get the registered servers and calling the TFSWarehouse to get the status and to kick off an update.

Technorati Tags: ,

No comments: