Share via


ITeamFoundationContextManager.SetContext Method (TfsTeamProjectCollection, String)

Creates and sets the new ITeamFoundationContext for the Team Explorer window.

Namespace:  Microsoft.TeamFoundation.Client
Assembly:  Microsoft.TeamFoundation.Client (in Microsoft.TeamFoundation.Client.dll)

Syntax

'Declaration
Sub SetContext ( _
    teamProjectCollection As TfsTeamProjectCollection, _
    projectUri As String _
)
void SetContext(
    TfsTeamProjectCollection teamProjectCollection,
    string projectUri
)
void SetContext(
    TfsTeamProjectCollection^ teamProjectCollection, 
    String^ projectUri
)
abstract SetContext : 
        teamProjectCollection:TfsTeamProjectCollection * 
        projectUri:string -> unit
function SetContext(
    teamProjectCollection : TfsTeamProjectCollection, 
    projectUri : String
)

Parameters

  • projectUri
    Type: System.String

    The team project fully qualified Uri, can be null.

.NET Framework Security

See Also

Reference

ITeamFoundationContextManager Interface

SetContext Overload

Microsoft.TeamFoundation.Client Namespace