This documentation is archived and is not being maintained.

ITeamProjectCollectionService.GetCollections Method (IEnumerable(Guid), ServiceHostFilterFlags)

Gets collections with the specified collection ids.

Namespace:  Microsoft.TeamFoundation.Framework.Client
Assembly:  Microsoft.TeamFoundation.Client (in Microsoft.TeamFoundation.Client.dll)

abstract GetCollections : 
        collectionIds:IEnumerable<Guid> * 
        filterFlags:ServiceHostFilterFlags -> IList<TeamProjectCollection> 

Parameters

collectionIds
Type: System.Collections.Generic.IEnumerable(Guid)

the identifiers of the collections to retrieve.

filterFlags
Type: Microsoft.TeamFoundation.Framework.Client.ServiceHostFilterFlags

flags to indicate which set of collections to return.

Return Value

Type: System.Collections.Generic.IList(TeamProjectCollection)
The associated Team Project Collections. A null element is used for any collection not found.

Show: