TfsConnection.ApplicationName 属性

获取或设置正在服务器上进行请求的应用程序的名称。

命名空间:  Microsoft.TeamFoundation.Client
程序集:  Microsoft.TeamFoundation.Client(在 Microsoft.TeamFoundation.Client.dll 中)

语法

声明
Public Shared Property ApplicationName As String
public static string ApplicationName { get; set; }

属性值

类型:System.String
返回 String

备注

Setting this property is optional. By default, this property will be set. Therefore, it has to be set only for applications that are hosted in another process, such as a Web application such as w3wp.exe. The application name must not use any characters that cannot be used in HTTP request headers. The following is an example of the default setting: "Team Foundation (devenv.exe, 9.0.20418.0)"

Example of the default setting: "Team Foundation (devenv.exe, 9.0.20418.0)"

.NET Framework 安全性

请参阅

参考

TfsConnection 类

Microsoft.TeamFoundation.Client 命名空间