TeamProjectCollectionService.GetCollectionProperties Method (TeamFoundationRequestContext, IList<Guid>, ServiceHostFilterFlags)
Get team project collection properties.
Namespace: Microsoft.TeamFoundation.Server.Core
Assembly: Microsoft.TeamFoundation.Server.Core (in Microsoft.TeamFoundation.Server.Core.dll)
Syntax
'Declaration
Public Function GetCollectionProperties ( _
requestContext As TeamFoundationRequestContext, _
collectionIds As IList(Of Guid), _
filterFlags As ServiceHostFilterFlags _
) As List(Of TeamProjectCollectionProperties)
public List<TeamProjectCollectionProperties> GetCollectionProperties(
TeamFoundationRequestContext requestContext,
IList<Guid> collectionIds,
ServiceHostFilterFlags filterFlags
)
public:
List<TeamProjectCollectionProperties^>^ GetCollectionProperties(
TeamFoundationRequestContext^ requestContext,
IList<Guid>^ collectionIds,
ServiceHostFilterFlags filterFlags
)
member GetCollectionProperties :
requestContext:TeamFoundationRequestContext *
collectionIds:IList<Guid> *
filterFlags:ServiceHostFilterFlags -> List<TeamProjectCollectionProperties>
public function GetCollectionProperties(
requestContext : TeamFoundationRequestContext,
collectionIds : IList<Guid>,
filterFlags : ServiceHostFilterFlags
) : List<TeamProjectCollectionProperties>
Parameters
requestContext
Type: Microsoft.TeamFoundation.Framework.Server.TeamFoundationRequestContextA request context associated with the application host.
collectionIds
Type: System.Collections.Generic.IList<Guid>The collections to query for. Use null to retrieve all collections.
filterFlags
Type: Microsoft.TeamFoundation.Framework.Server.ServiceHostFilterFlagsFlags to control the set of information returned for each hostId.
Return Value
Type: System.Collections.Generic.List<TeamProjectCollectionProperties>
A list of team project collection properties the same size as collectionIds. A null element is returned for each 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.
See Also
Reference
TeamProjectCollectionService Class