This documentation is archived and is not being maintained.
TfsConfigurationServer.GetTeamProjectCollection Method
Visual Studio 2013
Gets the TfsTeamProjectCollection that has the specified ID.
Namespace: Microsoft.TeamFoundation.Client
Assembly: Microsoft.TeamFoundation.Client (in Microsoft.TeamFoundation.Client.dll)
public function GetTeamProjectCollection( collectionId : Guid ) : TfsTeamProjectCollection
Parameters
- collectionId
- Type: System.Guid
The ID of the desired TeamProjectCollection.
Return Value
Type: Microsoft.TeamFoundation.Client.TfsTeamProjectCollectionThe TfsTeamProjectCollection that has the specified ID.
For more information about how to use this method, see Connect to Team Foundation Server from a Console Application.
- 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.
Show: