获取或设置包含客户端缓存文件的目录的路径。
命名空间: Microsoft.TeamFoundation.Client
程序集: Microsoft.TeamFoundation.Client(在 Microsoft.TeamFoundation.Client.dll 中)
语法
声明
Public Shared Property ClientSettingsDirectory As String
public static string ClientSettingsDirectory { get; set; }
属性值
类型:System.String
返回 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"
.NET Framework 安全性
- 对直接调用方的完全信任。此成员不能由部分信任的代码使用。有关详细信息,请参阅 通过部分受信任的代码使用库。