TfsConfigurationServer Class

Represents a connection to the server that is running Team Foundation Server.

System.Object
  Microsoft.TeamFoundation.Client.TfsConnection
    Microsoft.TeamFoundation.Client.TfsConfigurationServer

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

public class TfsConfigurationServer : TfsConnection

The TfsConfigurationServer type exposes the following members.

  NameDescription
Public methodTfsConfigurationServer(Uri)Initializes a new instance of the TfsConfigurationServer object.
Public methodTfsConfigurationServer(RegisteredConfigurationServer)Initializes a new instance of the TfsConfigurationServer object by using the registration information on the local computer.
Public methodTfsConfigurationServer(Uri, ICredentialsProvider) Obsolete. Initializes a new instance of the TfsConfigurationServer object.
Public methodTfsConfigurationServer(Uri, TfsClientCredentials)Initializes a new TfsConfigurationServer instance using the specified credentials.
Public methodTfsConfigurationServer(Uri, IdentityDescriptor)Initializes a new instance of the TfsConfigurationServer object.
Public methodTfsConfigurationServer(Uri, Boolean)
Public methodTfsConfigurationServer(Uri, ICredentials)Initializes a new instance of the TfsConfigurationServer object.
Public methodTfsConfigurationServer(RegisteredConfigurationServer, IdentityDescriptor)Initializes a new instance of the TfsConfigurationServer object by using the registration information on the local computer, and impersonating an identity from IIdentityManagementService.
Public methodTfsConfigurationServer(Uri, TfsClientCredentials, IdentityDescriptor)Initializes a new TfsConfigurationServer instance using the specified credentials. The specified identity will be impersonated for all operations.
Public methodTfsConfigurationServer(Uri, ICredentials, ICredentialsProvider) Obsolete. Initializes a new instance of the TfsConfigurationServer object.
Public methodTfsConfigurationServer(RegisteredConfigurationServer, ICredentials, ICredentialsProvider) Obsolete. Initializes a new instance of the TfsConfigurationServer object.
Public methodTfsConfigurationServer(Uri, TfsClientCredentials, IdentityDescriptor, ITfsRequestChannelFactory)
Public methodTfsConfigurationServer(Uri, TfsClientCredentials, IdentityDescriptor, Boolean)
Public methodTfsConfigurationServer(Uri, ICredentials, ICredentialsProvider, IdentityDescriptor) Obsolete. Initializes a new instance of the TfsConfigurationServer object.
Public methodTfsConfigurationServer(RegisteredConfigurationServer, ICredentials, ICredentialsProvider, IdentityDescriptor) Obsolete. Initializes a new instance of the TfsConfigurationServer object.
Public methodTfsConfigurationServer(Uri, TfsClientCredentials, IdentityDescriptor, ITfsRequestChannelFactory, Boolean)
Top

  NameDescription
Public propertyAuthorizedIdentityGets the identity that is authorized to make calls to the server that is running Team Foundation Server. (Inherited from TfsConnection.)
Public propertyCatalogNodeGets the catalog resource that is associated with this instance of TfsConfigurationServer. (Overrides TfsConnection.CatalogNode.)
Protected propertyCatalogResourceId (Inherited from TfsConnection.)
Public propertyClientCacheDirectoryForInstanceGets the path of the directory that is used to cache data from the server that is running Team Foundation Server. (Inherited from TfsConnection.)
Public propertyClientCacheDirectoryForUserThe path that should be used to cache user-specific data from this server. Accessing this property will make a server call to retrieve the user information if the server has not been connected. This will look something like this: %LOCALAPPDATA%\Microsoft\Team Foundation\[s_version]\Cache\[userId]\[instanceId]_[scheme] (Inherited from TfsConnection.)
Public propertyClientCredentialsGets the credentials for this project collection. (Inherited from TfsConnection.)
Public propertyClientVolatileCacheDirectoryForInstanceThe path that should be used to cache instance-specific data from this server that will be removed when the server is removed or connected with a different user. (Inherited from TfsConnection.)
Public propertyConnectivityFailureOnLastWebServiceCallIndicates whether the last Web service call issued by this TfsConnection object failed due to a connectivity failure. (Inherited from TfsConnection.)
Public propertyCredentialsGets the credentials for this Team Foundation Server instance. (Inherited from TfsConnection.)
Public propertyCultureGets or sets the localization environment that is used by the server that is running Team Foundation Server. (Inherited from TfsConnection.)
Public propertyHasAuthenticatedGets the status of a flag that describes whether this TfsConnection instance has successfully authenticated. (Inherited from TfsConnection.)
Public propertyInstanceIdGets the GUID that identifies this Team Foundation Server connection. (Inherited from TfsConnection.)
Public propertyIsHostedServerReturns true if the server is a Microsoft Azure-hosted Team Foundation Server server (Inherited from TfsConnection.)
Public propertyNameGets the name of this instance of TfsConfigurationServer. (Overrides TfsConnection.Name.)
Public propertyServerCapabilitiesThe capabilities of the TFS server (Inherited from TfsConnection.)
Public propertySessionIdGets the GUID that identifies this instance of the client to the server. (Inherited from TfsConnection.)
Public propertyTimeZoneGets or sets the time zone of this Team Foundation Server connection. Used to convert dates and times to UTC. (Inherited from TfsConnection.)
Public propertyUICultureThe culture that will be used. It defaults to CultureInfo.CurrentUICulture. (Inherited from TfsConnection.)
Public propertyUriGets the uniform resource identifier (URI) for this Team Foundation Server connection. (Inherited from TfsConnection.)
Top

  NameDescription
Public methodAuthenticateAuthenticates the connection to Team Foundation Server by using the specified credentials provider. (Inherited from TfsConnection.)
Public methodConnectConnects to a server that is running Team Foundation Server and returns information based on connectOptions. (Inherited from TfsConnection.)
Protected methodCreateInternalProxy (Inherited from TfsConnection.)
Protected methodCreateServiceInstance (Inherited from TfsConnection.)
Protected methodCreateVssConnection (Inherited from TfsConnection.)
Public methodDisposeNotifies related objects of disposal and disposes of this instance of TfsConnection. (Inherited from TfsConnection.)
Public methodEnsureAuthenticatedAuthenticates the connection to Team Foundation Server if it has not been previously authenticated. (Inherited from TfsConnection.)
Public methodEqualsReturns true of the specified object is equal to this TfsConnection. Equality is defined by comparing the fully qualified url of the two TfsConnections (Inherited from TfsConnection.)
Protected methodFinalizeAllows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.)
Public methodGetAuthenticatedIdentityGets the identity that authenticated with the server. (Inherited from TfsConnection.)
Public methodGetClient<T> (Inherited from TfsConnection.)
Public methodGetHashCodeGets the hash code of this TfsConnection instance. (Inherited from TfsConnection.)
Public methodGetService(Type)Gets the requested service. (Inherited from TfsConnection.)
Public methodGetService<T>()Gets the requested service. (Inherited from TfsConnection.)
Protected methodGetServiceInstanceGets the base service instance of the specified service. (Overrides TfsConnection.GetServiceInstance(Type, Object).)
Public methodGetTeamProjectCollectionGets the TfsTeamProjectCollection that has the specified ID.
Public methodGetTypeGets the Type of the current instance. (Inherited from Object.)
Protected methodInitializeTeamFoundationObjectInitializes the specified Team Foundation Server object. (Overrides TfsConnection.InitializeTeamFoundationObject(String, Object).)
Protected methodMemberwiseCloneCreates a shallow copy of the current Object. (Inherited from Object.)
Protected methodOnConnectivityFailureStatusChangedFires the ConnectivityFailureStatusChanged event. (Inherited from TfsConnection.)
Public methodToStringGets the name of the TfsConnection instance. (Inherited from TfsConnection.)
Top

  NameDescription
Public eventConnectivityFailureStatusChangedThis event is raised when the value of the ConnectivityFailureOnLastWebServiceCall flag changes. (Inherited from TfsConnection.)
Public eventCredentialsChangedThis event is raised when the credentials of the TeamFoundationServer object change. (Inherited from TfsConnection.)
Top

TfsConfigurationServer is derived from TfsConnection. It replaces the obsolete class TeamFoundationServer.

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:
© 2014 Microsoft