This documentation is archived and is not being maintained.

VersionControlServer.GetItems Method (Int32[], Int32, Boolean)

Retrieves a list of Items from the database, based on ItemId and Changeset.

Namespace: Microsoft.TeamFoundation.VersionControl.Client
Assembly: Microsoft.TeamFoundation.VersionControl.Client (in microsoft.teamfoundation.versioncontrol.client.dll)

public Item[] GetItems (
	int[] itemIds,
	int changesetNumber,
	bool includeDownloadInfo
)
public Item[] GetItems (
	int[] itemIds, 
	int changesetNumber, 
	boolean includeDownloadInfo
)
public function GetItems (
	itemIds : int[], 
	changesetNumber : int, 
	includeDownloadInfo : boolean
) : Item[]

Parameters

itemIds

Item identifiers to retrieve.

changesetNumber

Changeset version to retrieve.

includeDownloadInfo

true to tell the server to include the information that is required to download the files.

Return Value

Returns an array of Items.

If an item cannot be found for a specific ItemId and Changeset then the corresponding element in the item output array will be a null reference (Nothing in Visual Basic).

Only set includeDownloadInfo to true if you will download the files by using the returned objects. The call will be faster and require less bandwidth when this parameter is false. The overloaded methods set includeDownloadInfo to false.

Show: