Language: C#
Enumerate the project collections registered for the current user
using Microsoft.TeamFoundation.Client; RegisteredProjectCollection[] collections = RegisteredInstances.GetProjectCollections(); if (collections != null) { foreach (RegisteredProjectCollection collection in collections) { Console.WriteLine(String.Format("{0} - {1}", collection.Name, collection.Uri)); } }
Tags:
Report Abuse
Subscribe
Discuss
What's new
What is it
New Snippet
Recent Snippets
My Snippets
Web Code
Search

