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)
Syntax
'Declaration
Function GetCollections ( _
collectionIds As IEnumerable(Of Guid), _
filterFlags As ServiceHostFilterFlags _
) As IList(Of TeamProjectCollection)
IList<TeamProjectCollection> GetCollections(
IEnumerable<Guid> collectionIds,
ServiceHostFilterFlags filterFlags
)
IList<TeamProjectCollection^>^ GetCollections(
IEnumerable<Guid>^ collectionIds,
ServiceHostFilterFlags filterFlags
)
abstract GetCollections :
collectionIds:IEnumerable<Guid> *
filterFlags:ServiceHostFilterFlags -> IList<TeamProjectCollection>
function 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.ServiceHostFilterFlagsflags 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.
.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.