Share via


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)

Syntax

'Declaration
Public Shared Property ClientSettingsDirectory As String
public static string ClientSettingsDirectory { get; set; }
public:
static property String^ ClientSettingsDirectory {
    String^ get ();
    void set (String^ value);
}
static member ClientSettingsDirectory : string with get, set
static function get ClientSettingsDirectory () : String 
static function set ClientSettingsDirectory (value : String)

Property Value

Type: System.String
Returns String.

Remarks

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"

.NET Framework Security

See Also

Reference

TfsConnection Class

Microsoft.TeamFoundation.Client Namespace