This documentation is archived and is not being maintained.
TfsConnection Properties
Visual Studio 2013
The TfsConnection type exposes the following members.
| Name | Description | |
|---|---|---|
|
ApplicationName | Gets or sets the name of an application that is making a request on the server. |
|
AuthorizedIdentity | Gets the identity that is authorized to make calls to the server that is running Team Foundation Server. |
|
CatalogNode | Gets the catalog resource for this Team Foundation Server connection. |
|
CatalogResourceId | |
|
ClientCacheDirectory | Gets the path of the directory that contains the client cache files. |
|
ClientCacheDirectoryForInstance | Gets the path of the directory that is used to cache data from the server that is running Team Foundation Server. |
|
ClientCacheDirectoryForUser | The 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] |
|
ClientConfigurationDirectory | Directory that contains the client configuration files which resides below the settings directory.This will resemble: C:\Documents and Settings\username\Local Settings\Application Data\Microsoft\Team Foundation\[s_version]\Configuration |
|
ClientCredentials | Gets the credentials for this project collection. |
|
ClientSettingsDirectory | Gets or sets the path of the directory that contains the client cache files. |
|
ClientVolatileCacheDirectory | Directory containing the client cache files that will be removed when their corresponding server connection is removed or replaced. This will look something like this: %LOCALAPPDATA%\Microsoft\Team Foundation\[s_version]\Cache\Volatile |
|
ClientVolatileCacheDirectoryForInstance | The 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. |
|
ConnectivityFailureOnLastWebServiceCall | Indicates whether the last Web service call issued by this TfsConnection object failed due to a connectivity failure. |
|
Credentials | Gets the credentials for this Team Foundation Server instance. |
|
Culture | Gets or sets the localization environment that is used by the server that is running Team Foundation Server. |
|
HasAuthenticated | Gets the status of a flag that describes whether this TfsConnection instance has successfully authenticated. |
|
InstanceId | Gets the GUID that identifies this Team Foundation Server connection. |
|
IsHostedServer | Returns true if the server is a Microsoft Azure-hosted Team Foundation Server server |
|
Name | Gets the name of this Team Foundation Server connection. |
|
OperationName | Gets or sets the name of the operation that is being performed by an application on the server. |
|
ServerCapabilities | The capabilities of the TFS server |
|
SessionId | Gets the GUID that identifies this instance of the client to the server. |
|
TimeZone | Gets or sets the time zone of this Team Foundation Server connection. Used to convert dates and times to UTC. |
|
TotalRequestCount | The total number of times the WebServiceCallBegin event has fired in this appdomain. |
|
UICulture | The culture that will be used. It defaults to CultureInfo.CurrentUICulture. |
|
Uri | Gets the uniform resource identifier (URI) for this Team Foundation Server connection. |
Show: