TfsConfigurationServerFactory Class
Class factory for TfsConfigurationServerFactory objects.
Inheritance Hierarchy
System.Object
Microsoft.TeamFoundation.Client.TfsConfigurationServerFactory
Namespace: Microsoft.TeamFoundation.Client
Assembly: Microsoft.TeamFoundation.Client (in Microsoft.TeamFoundation.Client.dll)
Syntax
'Declaration
Public NotInheritable Class TfsConfigurationServerFactory
public static class TfsConfigurationServerFactory
public ref class TfsConfigurationServerFactory abstract sealed
[<AbstractClass>]
[<Sealed>]
type TfsConfigurationServerFactory = class end
public final class TfsConfigurationServerFactory
The TfsConfigurationServerFactory type exposes the following members.
Properties
Name | Description | |
---|---|---|
Servers |
Top
Methods
Name | Description | |
---|---|---|
GetConfigurationServer(Uri) | Gets the TfsConfigurationServer instance that is associated with the server at the specified URI. | |
GetConfigurationServer(RegisteredConfigurationServer) | Gets the TfsConfigurationServer instance associated with the specified RegisteredConfigurationServer instance. | |
GetConfigurationServer(Uri, ICredentialsProvider) | Obsolete. Gets the TfsConfigurationServer instance associated with the server at the specified URI and a fallback credentials provider. | |
GetConfigurationServer(RegisteredConfigurationServer, ICredentialsProvider) | Obsolete. Gets the TfsConfigurationServer instance associated with the specified RegisteredConfigurationServer instance. | |
RemoveConfigurationServer |
Top
Remarks
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
Thread Safety
Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.