ITeamProjectCollectionService.GetCollections Method (IEnumerable<Guid>)
Gets collections with the specified collection ids. Only created and registered collections will be returned.
Namespace: Microsoft.TeamFoundation.Framework.Client
Assembly: Microsoft.TeamFoundation.Client (in Microsoft.TeamFoundation.Client.dll)
Syntax
'Declaration
Function GetCollections ( _
collectionIds As IEnumerable(Of Guid) _
) As IList(Of TeamProjectCollection)
IList<TeamProjectCollection> GetCollections(
IEnumerable<Guid> collectionIds
)
IList<TeamProjectCollection^>^ GetCollections(
IEnumerable<Guid>^ collectionIds
)
abstract GetCollections :
collectionIds:IEnumerable<Guid> -> IList<TeamProjectCollection>
function GetCollections(
collectionIds : IEnumerable<Guid>
) : IList<TeamProjectCollection>
Parameters
collectionIds
Type: System.Collections.Generic.IEnumerable<Guid>the identifiers of the collections to retrieve.
Return Value
Type: System.Collections.Generic.IList<TeamProjectCollection>
The associated Team Project Collections. A null element is used for any collection not found.
.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.