共用方式為


TeamFoundationServer.ClientSettingsDirectory Property

Gets or sets the directory that contains the client settings 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
The directory that contains the client settings files.

Remarks

May throw an exception if the current identity has never logged in, such as in an impersonation scenario.

The returned string will look similar to the following: C:\Documents and Settings\username\Local Settings\Application Data\Microsoft\Team Foundation\3.0

.NET Framework Security

See Also

Reference

TeamFoundationServer Class

Microsoft.TeamFoundation.Client Namespace