title: Alternative to TfsTeamProjectCollectionFactory.GetTeamProjectCollection taking ICredentialsProvider
body: <p>According to the <a href="http://msdn.microsoft.com/en-us/library/ff737874.aspx" rel="nofollow noreferrer">MSDN</a> the method <code>GetTeamProjectCollection(RegisteredProjectCollection projectCollection, ICredentialsProvider fallbackCredentialsProvider</code> of the <code>TfsTeamProjectCollectionFactory</code> class is now deprecated:</p>
  
  <ul>
  <li><p>"Note: This API is now obsolete."</p></li>
  <li><p><code>[ObsoleteAttribute("This method has been deprecated and will be removed in a future release. See GetTeamProjectCollection(RegisteredProjectCollection) instead.", false)]</code></p></li>
  </ul>
  
  <p>The advice is to use the overload that only takes the <code>RegisteredProjectCollection</code>, but what should we use from now on if we want a fallback mechanism for credentials?</p>
  
  <p>Thanks</p>