I blog about development using .net, C#, SQL, Windows RT, and other Microsoft technologies.
Disclaimer: All posts are provided "AS IS" with no warranties, confering no rights, and expressing only my personal opinion, not Microsoft's.
VersionControlServer sc = tfs.GetService<VersionControlServer>();List<VersionControlLabel> labels = new List<VersionControlLabel>();
foreach (Item i in sc.GetItems("$/Proj", RecursionType.Full).Items){ labels.AddRange(sc.QueryLabels(null, null, null, false, i.ServerItem, null));}
PingBack from http://asp-net-hosting.simplynetdev.com/how-to-query-all-labels-on-a-folder-recursively/
Mohamed Mahmoud on How to: Query all labels on a folder recursively Brian Harry on Power Tool for Profiling
I think I will try to recommend this post to my friends and family, cuz it’s really helpful.
i want fetch latest label from tfs plz help me........