This documentation is archived and is not being maintained.
ITeamProjectCollectionService.GetCollection Method (Guid)
Visual Studio 2013
Retrieve a collection using its unique Id. Only created and registered collections will be returned.
Namespace: Microsoft.TeamFoundation.Framework.Client
Assembly: Microsoft.TeamFoundation.Client (in Microsoft.TeamFoundation.Client.dll)
Parameters
- id
- Type: System.Guid
the collection id
Return Value
Type: Microsoft.TeamFoundation.Framework.Client.TeamProjectCollectionThe Team Project Collection.
| Exception | Condition |
|---|---|
| CollectionDoesNotExistException | Thrown if the collection is not found |
- 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: