RegisteredTfsConnections Class

Class that represents a registry of Team Foundation Server connections.

Inheritance Hierarchy

System.Object
  Microsoft.TeamFoundation.Client.RegisteredTfsConnections

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

Syntax

'Declaration
Public NotInheritable Class RegisteredTfsConnections
public static class RegisteredTfsConnections
public ref class RegisteredTfsConnections abstract sealed
[<AbstractClass>]
[<Sealed>]
type RegisteredTfsConnections =  class end
public final class RegisteredTfsConnections

The RegisteredTfsConnections type exposes the following members.

Methods

  Name Description
Public methodStatic member GetConfigurationServer(String) Gets the registered configuration server associated with the specified name.
Public methodStatic member GetConfigurationServer(Uri) Gets the registered configuration server associated with the specified URI.
Public methodStatic member GetConfigurationServers Gets an array of the currently registered configuration servers.
Public methodStatic member GetLegacyProjectCollections Gets an array of registered legacy project collections from Visual Studio Team System 2008 Team Foundation Server or earlier.
Public methodStatic member GetProjectCollection(String) Gets the registered project collection with the specified name.
Public methodStatic member GetProjectCollection(Uri) Gets the registered project collection with the specified URI.
Public methodStatic member GetProjectCollections Gets an array of all registered project collections in this registry, including legacy collections.
Public methodStatic member RegisterConfigurationServer Registers the specified TfsConfigurationServer with this registry.
Public methodStatic member RegisterProjectCollection Registers the specified project collection with this registry.
Public methodStatic member UnregisterConfigurationServer Removes the configuration server with the specified name from this registry.
Public methodStatic member UnregisterProjectCollection Removes the project collection with the specified name from this registry.

Top

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.

See Also

Reference

Microsoft.TeamFoundation.Client Namespace