共用方式為


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

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