title: Programmatically delete a TFS branch
body: <p>I want to programmatically delete a branch in TFS that was create automatically. </p>
  
  <p>There is an existing method "ICommonStructureService.DeleteBranches" that should do the work. 
  My problem is that the method requires a parameter "string[] nodeUris" that specifies the branch to delete using a "vstfs://... " URI and I just don't know how to get that for my branch. </p>
  
  <p>What I need is something like:</p>
  
  <pre class="lang-cs prettyprint-override"><code>var projectCollection = TfsTeamProjectCollectionFactory.GetTeamProjectCollection(new Uri &lt;myCollectionUrl&gt;));
  var cssService = projectCollection.GetService&lt;ICommonStructureService3&gt;();
  var project = cssService.GetProjectFromName(&lt;myProjectName&gt;);
  </code></pre>
  
  <p>But how can I get the Branch Uri from there? </p>