Share via


VersionControlServer.TryGetTeamProjectForServerPath, méthode

Obtient le projet d'équipe pour le chemin d'accès au serveur spécifié.

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

Syntaxe

'Déclaration
Public Function TryGetTeamProjectForServerPath ( _
    serverPath As String _
) As TeamProject
public TeamProject TryGetTeamProjectForServerPath(
    string serverPath
)

Paramètres

  • serverPath
    Type : System.String
    Le chemin d'accès au serveur du projet d'équipe à obtenir.

Valeur de retour

Type : Microsoft.TeamFoundation.VersionControl.Client.TeamProject
Le projet d'équipe avec le chemin d'accès spécifié.Sinon, Null.

Sécurité .NET Framework

Voir aussi

Référence

VersionControlServer Classe

Microsoft.TeamFoundation.VersionControl.Client, espace de noms