This documentation is archived and is not being maintained.

TfsConnection.ClientSettingsDirectory Property

Gets or sets the path of the directory that contains the client cache files.

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

public static string ClientSettingsDirectory { get; set; }

Property Value

Type: System.String
Returns String.

This method may throw an exception if the current identity has never logged in, such as in an impersonation scenario. The returned string will resemble the following example: "C:\Documents and Settings\username\Local Settings\Application Data\Microsoft\Team Foundation\3.0"