This topic has not yet been rated - Rate this topic

TfsTeamProjectCollectionFactory Class

Class factory for TfsTeamProjectCollection objects.

Object
  Microsoft.TeamFoundation.Client.TfsTeamProjectCollectionFactory

Namespace:  Microsoft.TeamFoundation.Client
Assembly:  Microsoft.TeamFoundation.Client (in Microsoft.TeamFoundation.Client.dll)
public static class TfsTeamProjectCollectionFactory
  NameDescription
Public methodStatic memberGetTeamProjectCollection(Uri)Gets the TfsTeamProjectCollection instance that is associated with the server at the specified URI.
Public methodStatic memberGetTeamProjectCollection(RegisteredProjectCollection)Gets the TfsTeamProjectCollection instance that is associated with the specified RegisteredProjectCollection instance.
Public methodStatic memberGetTeamProjectCollection(Uri, ICredentialsProvider) Obsolete. Gets the TfsTeamProjectCollection instance that is associated with the server at the specified URI and a fallback credentials provider.
Public methodStatic memberGetTeamProjectCollection(RegisteredProjectCollection, ICredentialsProvider) Obsolete. Gets the TfsTeamProjectCollection instance that is associated with the specified RegisteredProjectCollection instance and fallback credentials provider.
Public methodStatic memberGetTeamProjectCollection(String, Boolean, Boolean)Retrieves the TfsTeamProjectCollection object that is used for a given server.
Top

This class is designed to enable external packages to use the same instance of a TfsTeamProjectCollection object. It caches TfsTeamProjectCollection objects without regard to credentials. Cached objects are indexed only by server uniform resource identifier (URI).

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.
Did you find this helpful?
(1500 characters remaining)
© 2013 Microsoft. All rights reserved.