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:

Post a Comment

NOTE: Anonymous Commenting has been turned off for a while... The comment spammers are just killing me...

ALL comments are moderated. I will review every comment before it will appear on the blog.

Your comment WILL NOT APPEAR UNTIL I approve it. This may take some hours...

I reserve, and will use, the right to not approve ANY comment for ANY reason. I will not usually, but if it's off topic, spam (or even close to spam-like), inflammatory, mean, etc, etc, well... then...

Please see my comment policy for more information if you are interested.

Thanks,
Greg

PS. I am proactively moderating comments. Your comment WILL NOT APPEAR UNTIL I approve it. This may take some hours...