Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
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, _
teamId As Guid _
)
void SetContext(
TfsTeamProjectCollection teamProjectCollection,
string projectUri,
Guid teamId
)
void SetContext(
TfsTeamProjectCollection^ teamProjectCollection,
String^ projectUri,
Guid teamId
)
abstract SetContext :
teamProjectCollection:TfsTeamProjectCollection *
projectUri:string *
teamId:Guid -> unit
function SetContext(
teamProjectCollection : TfsTeamProjectCollection,
projectUri : String,
teamId : Guid
)
Parameters
teamProjectCollection
Type: Microsoft.TeamFoundation.Client.TfsTeamProjectCollectionThe team project collection, can be null.
projectUri
Type: System.StringThe team project fully qualified Uri, can be null.
teamId
Type: System.GuidThe id of the TeamFoundationTeam object to set as the current team, can be Guid.Empty.
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.