Get current TFS connection in a Visual Studio addin -


i'm working on visual studio 2010 add-in, , i'm trying figure out how determine connected tfs server. i'm guessing need use dte, i'm having brain cramp figuring out info.

i suggest check out microsoft.teamfoundation.versioncontrol.client.workstation.getlocalworkspaceinfo method, in result have object , access serveruri property

see this documentation on msdn more details.


Comments

Popular posts from this blog

c++ - How do I get a multi line tooltip in MFC -

asp.net - In javascript how to find the height and width -

c# - DataTable to EnumerableRowCollection -