Export (0) Print
Expand All

TfsTeamProjectCollectionFactory Class

Class factory for TfsTeamProjectCollection objects.

System.Object
  Microsoft.TeamFoundation.Client.TfsTeamProjectCollectionFactory

Namespace:  Microsoft.TeamFoundation.Client
Assembly:  Microsoft.TeamFoundation.Client (in Microsoft.TeamFoundation.Client.dll)

public static class TfsTeamProjectCollectionFactory

The TfsTeamProjectCollectionFactory type exposes the following members.

  NameDescription
Public propertyStatic memberCollections
Top

  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.
Public methodStatic memberRemoveTeamProjectCollection
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.
Show:
© 2014 Microsoft