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 _
)
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
teamProjectCollection
Type: Microsoft.TeamFoundation.Client.TfsTeamProjectCollectionThe team project collection, can be null.
projectUri
Type: System.StringThe team project fully qualified Uri, can be null.
.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.