共用方式為


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

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

See Also

Reference

ITeamProjectCollectionService Interface

GetCollections Overload

Microsoft.TeamFoundation.Framework.Client Namespace