Share via


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

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, _
    teamId As Guid _
)
public void SetContext(
    TfsTeamProjectCollection teamProjectCollection,
    string projectUri,
    Guid teamId
)

Paramètres

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

Implémentations

ITeamFoundationContextManager.SetContext(TfsTeamProjectCollection, String, Guid)

Sécurité .NET Framework

Voir aussi

Référence

ContextManager Classe

SetContext, surcharge

Microsoft.VisualStudio.Services.Integration, espace de noms