TeamFoundationVersionControlService.QueryItemsById Method
Retrieves a list of items from repository, based on itemId and changeset. If an item cannot be found for a specific itemId and changeset then the corresponding element in the item output array will be null.
Namespace: Microsoft.TeamFoundation.VersionControl.Server
Assembly: Microsoft.TeamFoundation.VersionControl.Server (in Microsoft.TeamFoundation.VersionControl.Server.dll)
Syntax
'Declaration
Public Function QueryItemsById ( _
requestContext As TeamFoundationRequestContext, _
itemIds As Integer(), _
changeSet As Integer, _
generateDownloadUrls As Boolean, _
options As Integer _
) As Item()
public Item[] QueryItemsById(
TeamFoundationRequestContext requestContext,
int[] itemIds,
int changeSet,
bool generateDownloadUrls,
int options
)
public:
array<Item^>^ QueryItemsById(
TeamFoundationRequestContext^ requestContext,
array<int>^ itemIds,
int changeSet,
bool generateDownloadUrls,
int options
)
member QueryItemsById :
requestContext:TeamFoundationRequestContext *
itemIds:int[] *
changeSet:int *
generateDownloadUrls:bool *
options:int -> Item[]
public function QueryItemsById(
requestContext : TeamFoundationRequestContext,
itemIds : int[],
changeSet : int,
generateDownloadUrls : boolean,
options : int
) : Item[]
Parameters
requestContext
Type: Microsoft.TeamFoundation.Framework.Server.TeamFoundationRequestContextThe request context.
itemIds
Type: array<System.Int32[]Item identifiers.
- changeSet
Type: System.Int32
generateDownloadUrls
Type: System.BooleanIf true, the server will include the information that is required to download files. Only set this to true if you will be downloading the files that use the objects that are returned. The call will be faster and require less bandwidth when this parameter is false (default for overloads that do not specify it).
- options
Type: System.Int32
Return Value
Type: array<Microsoft.TeamFoundation.VersionControl.Server.Item[]
Enumerable of items.
.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.