若要檢視英文版的文章,請選取 [原文] 核取方塊。您也可以將滑鼠指標移到文字上,即可在快顯視窗顯示英文原文。
譯文
原文

TfsConnection.ApplicationName 屬性

取得或設定對伺服器提出要求的應用程式名稱。

命名空間:  Microsoft.TeamFoundation.Client
組件:  Microsoft.TeamFoundation.Client (在 Microsoft.TeamFoundation.Client.dll 中)

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)"

顯示: