Partager via


TfsConnection.ApplicationName, propriété

Obtient ou définit le nom d'une application qui effectue une demande sur le serveur.

Espace de noms :  Microsoft.TeamFoundation.Client
Assembly :  Microsoft.TeamFoundation.Client (dans Microsoft.TeamFoundation.Client.dll)

Syntaxe

'Déclaration
Public Shared Property ApplicationName As String
public static string ApplicationName { get; set; }

Valeur de propriété

Type : System.String
Retourne String.

Notes

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

Sécurité .NET Framework

Voir aussi

Référence

TfsConnection Classe

Microsoft.TeamFoundation.Client, espace de noms