This documentation is archived and is not being maintained.
TeamFoundationServer Class
Visual Studio 2013
Note: This API is now obsolete.
Represents a connection to a server that is running Team Foundation Server.
Namespace: Microsoft.TeamFoundation.Client
Assembly: Microsoft.TeamFoundation.Client (in Microsoft.TeamFoundation.Client.dll)
The TeamFoundationServer type exposes the following members.
| Name | Description | |
|---|---|---|
![]() | TeamFoundationServer(String) | Initializes a new TeamFoundationServer object that is associated with the specified URL. |
![]() | TeamFoundationServer(Uri) | Initializes a new TeamFoundationServer object that is associated with the specified URI. |
![]() | TeamFoundationServer(RegisteredProjectCollection) | Initializes a new TeamFoundationServer object that is associated with the server that is described by the specified RegisteredProjectCollection. |
![]() | TeamFoundationServer(String, ICredentialsProvider) | Initializes a new TeamFoundationServer object that is associated with the specified URL and credentials provider. |
![]() | TeamFoundationServer(String, ICredentials) | Initializes a new TeamFoundationServer object that is associated with the specified URL and credentials. |
![]() | TeamFoundationServer(Uri, ICredentialsProvider) | Initializes a new TeamFoundationServer object that is associated with the specified URI and credentials provider. |
![]() | TeamFoundationServer(Uri, ICredentials) | Initializes a new TeamFoundationServer object that is associated with the specified uniform resource identifier (URI) and credentials. |
![]() | TeamFoundationServer(String, ICredentials, ICredentialsProvider) | Initializes a new TeamFoundationServer object that is associated with the specified URL and credentials. |
![]() | TeamFoundationServer(Uri, ICredentials, ICredentialsProvider) | Initializes a new TeamFoundationServer object that is associated with the specified URI, credentials and credentials provider. |
![]() | TeamFoundationServer(RegisteredProjectCollection, ICredentials, ICredentialsProvider) | Initializes a new TeamFoundationServer object that is associated with the server that is described by the specified RegisteredProjectCollection, credentials, and credentials provider. |
| Name | Description | |
|---|---|---|
![]() | AuthenticatedUserDisplayName | Gets the display name of the authenticated user. |
![]() | AuthenticatedUserIdentity | Gets the authenticated user's identity. |
![]() | AuthenticatedUserName | Gets the authenticated user name. |
![]() ![]() | ClientCacheDirectory | Gets the directory that contains the client cache files. |
![]() | ClientCacheDirectoryForInstance | Gets the directory to use when data is cached from the server. |
![]() ![]() | ClientSettingsDirectory | Gets or sets the directory that contains the client settings files. |
![]() | Credentials | Gets the credentials for this TeamFoundationServer object. |
![]() | Culture | Gets or sets the culture to use for this TeamFoundationServer object. |
![]() | HasAuthenticated | Gets a flag that describes whether this TeamFoundationServer object has successfully authenticated. |
![]() | InstanceId | Gets the GUID that uniquely identifies the server. |
![]() | Name | Gets the name of the server that is running Team Foundation Server. |
![]() | SessionId | Gets the GUID that identifies this TeamFoundationServer object to the server and is recorded in the activity log of the server. |
![]() | TfsTeamProjectCollection | Gets the TfsTeamProjectCollection instance that is associated with this TeamFoundationServer object. |
![]() | TimeZone | Gets or sets the time zone. |
![]() | Uri | Gets the URI of the current server that is running Team Foundation Server. |
| Name | Description | |
|---|---|---|
![]() | Authenticate | Authenticates the connection with the server. |
![]() | Dispose | Notifies interested objects of disposal and disposes this object. |
![]() | EnsureAuthenticated | Authenticates the connection, if it was not previously authenticated. |
![]() | Equals | Checks to see whether this TeamFoundationServer object is equal to the specified object. (Overrides Object::Equals(Object).) |
![]() | Finalize | Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.) |
![]() | GetHashCode | Gets the hash code for this object. (Overrides Object::GetHashCode().) |
![]() | GetService(Type) | Gets the specified service. |
![]() | GetService<T>() | Gets the specified service. |
![]() | GetType | Gets the Type of the current instance. (Inherited from Object.) |
![]() | MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object.) |
![]() | ToString | Gets the name of this TeamFoundationServer object. (Overrides Object::ToString().) |
| Name | Description | |
|---|---|---|
![]() | CredentialsChanged | This event occurs when the credentials of the TeamFoundationServer object change. |
| Name | Description | |
|---|---|---|
![]() ![]() | Equality | Checks to see if the specified TeamFoundationServer objects are equal. |
![]() ![]() | Inequality | Checks to see whether the specified TeamFoundationServer objects are not equal. |
Show:
