TfsConfigurationServerFactory Class

Class factory for TfsConfigurationServerFactory objects.

System.Object
  Microsoft.TeamFoundation.Client.TfsConfigurationServerFactory

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

public static class TfsConfigurationServerFactory

The TfsConfigurationServerFactory type exposes the following members.

  NameDescription
Public propertyStatic memberServers
Top

  NameDescription
Public methodStatic memberGetConfigurationServer(Uri)Gets the TfsConfigurationServer instance that is associated with the server at the specified URI.
Public methodStatic memberGetConfigurationServer(RegisteredConfigurationServer)Gets the TfsConfigurationServer instance associated with the specified RegisteredConfigurationServer instance.
Public methodStatic memberGetConfigurationServer(Uri, ICredentialsProvider) Obsolete. Gets the TfsConfigurationServer instance associated with the server at the specified URI and a fallback credentials provider.
Public methodStatic memberGetConfigurationServer(RegisteredConfigurationServer, ICredentialsProvider) Obsolete. Gets the TfsConfigurationServer instance associated with the specified RegisteredConfigurationServer instance.
Public methodStatic memberRemoveConfigurationServer
Top

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

For more information on using this class, see Connect to Team Foundation Server from a Console Application

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.
Was this page helpful?
(1500 characters remaining)
Thank you for your feedback
Show:
© 2015 Microsoft