GetBranchHistory Method
The document is archived and information here might be outdated

VersionControlServer.GetBranchHistory Method

Returns the branch history for the requested items.

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

public BranchHistoryTreeItem[][] GetBranchHistory (
	ItemSpec[] itemSpecs,
	VersionSpec version
)
public BranchHistoryTreeItem[][] GetBranchHistory (
	ItemSpec[] itemSpecs, 
	VersionSpec version
)
public function GetBranchHistory (
	itemSpecs : ItemSpec[], 
	version : VersionSpec
) : BranchHistoryTreeItem[][]

Parameters

itemSpecs

The array of requested item specifiers.

version

The version of the items.

Return Value

Returns an array of BranchHistoryTreeItem arrays.

For each input ItemSpec, there is an associated BranchHistoryTreeItem[] in the output array.

Show:
© 2016 Microsoft