Team Foundation Version Control client API example

[Update 3/16/2006]  I have decided to remove this version to reduce confusion.  Please see for the RTM v1 example.

Comments (8)

  1. Kris says:

    Where can I find the Documentation for the Teamsystem API?

  2. buckh says:

    Kris, I have added an update to the post with that info in response to your comment.

  3. Rob Caron – Joel Semeniuk on Team System (.NET Rocks!)

    Joel does a great job in this episode of .NET…

  4. Ron says:


    can you please tell in details how to run

    and test (!) api application containing subscription for an event (f.e. checkin event)

    cause non of the sample i tried worked !!

    (with beta 2 , April (think so … one version before July version)

  5. buckh says:

    Ron, do you mean subscribing to the checkin event on the client or the checkin event on the server? For the client API, it’s just like handling the events in the code above (specifying CommitCheckin in this case).

    For subscribing to the checkin event on the server, you can create a web service using VS 2005 and insert the code from That code will work with beta 3, which will be available at the end of this week (or whenever the thing finishes going through the MSDN pipeline).

  6. Buck Hodges says:

    I’ve updated this sample a few times before.  This is a really simple example that uses the…

  7. Buck Hodges says:

    [Update 6/13/06] While the documentation is not what it needs to be, you can find reference-style documentation

  8. Buck Hodges says:

    Have you wished that the output of the dir command from tf.exe would show you the dates and sizes of

Skip to main content