Share via


ContextManager.SetContext, méthode (TfsTeamProjectCollection, String)

Crée et définit le nouvel ITeamFoundationContext pour la fenêtre Explorateur d'équipes.

Espace de noms :  Microsoft.VisualStudio.Services.Integration
Assembly :  Microsoft.VisualStudio.Services.Integration (dans Microsoft.VisualStudio.Services.Integration.dll)

Syntaxe

'Déclaration
Public Sub SetContext ( _
    teamProjectCollection As TfsTeamProjectCollection, _
    projectUri As String _
)
public void SetContext(
    TfsTeamProjectCollection teamProjectCollection,
    string projectUri
)

Paramètres

  • projectUri
    Type : System.String
    L'URI complet de projet d'équipe, peut être null.

Implémentations

ITeamFoundationContextManager.SetContext(TfsTeamProjectCollection, String)

Sécurité .NET Framework

Voir aussi

Référence

ContextManager Classe

SetContext, surcharge

Microsoft.VisualStudio.Services.Integration, espace de noms