Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
Export (0) Print
Expand All

TfsConnection Methods

The TfsConnection type exposes the following members.

  Name Description
Public method Authenticate Authenticates the connection to Team Foundation Server by using the specified credentials provider.
Public method Connect Connects to a server that is running Team Foundation Server and returns information based on connectOptions.
Protected method CreateInternalProxy
Protected method CreateServiceInstance
Protected method CreateVssConnection
Public method Dispose Notifies related objects of disposal and disposes of this instance of TfsConnection.
Public method EnsureAuthenticated Authenticates the connection to Team Foundation Server if it has not been previously authenticated.
Public method Equals Returns true of the specified object is equal to this TfsConnection. Equality is defined by comparing the fully qualified url of the two TfsConnections (Overrides Object.Equals(Object).)
Protected method Finalize Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.)
Public method GetAuthenticatedIdentity Gets the identity that authenticated with the server.
Public method GetClient<T>
Protected method Static member GetFullyQualifiedUriForName This function assumes the name passed in will be either the friendly name of the server or the url to the root of the collection. Url's fully qualified to the location service page should not be passed in here.
Public method GetHashCode Gets the hash code of this TfsConnection instance. (Overrides Object.GetHashCode().)
Public method GetService(Type) Gets the requested service.
Public method GetService<T>() Gets the requested service.
Protected method GetServiceInstance
Public method GetType Gets the Type of the current instance. (Inherited from Object.)
Protected method InitializeTeamFoundationObject Initializes the created object if it implements ITfsConnectionObject.
Protected method MemberwiseClone Creates a shallow copy of the current Object. (Inherited from Object.)
Protected method OnConnectivityFailureStatusChanged Fires the ConnectivityFailureStatusChanged event.
Public method ToString Gets the name of the TfsConnection instance. (Overrides Object.ToString().)
Top
Show:
© 2015 Microsoft