VersionControlServer.GetBranchHistory Method
Gets the branch history of the requested items.
Namespace: Microsoft.TeamFoundation.VersionControl.Client
Assembly: Microsoft.TeamFoundation.VersionControl.Client (in Microsoft.TeamFoundation.VersionControl.Client.dll)
Syntax
'Declaration
Public Function GetBranchHistory ( _
itemSpecs As ItemSpec(), _
version As VersionSpec _
) As BranchHistoryTreeItem()()
public BranchHistoryTreeItem[][] GetBranchHistory(
ItemSpec[] itemSpecs,
VersionSpec version
)
public:
array<array<BranchHistoryTreeItem^>^>^ GetBranchHistory(
array<ItemSpec^>^ itemSpecs,
VersionSpec^ version
)
member GetBranchHistory :
itemSpecs:ItemSpec[] *
version:VersionSpec -> BranchHistoryTreeItem[][]
public function GetBranchHistory(
itemSpecs : ItemSpec[],
version : VersionSpec
) : BranchHistoryTreeItem[][]
Parameters
- itemSpecs
Type: array<Microsoft.TeamFoundation.VersionControl.Client.ItemSpec[]
Array of requested Item specifiers.
- version
Type: Microsoft.TeamFoundation.VersionControl.Client.VersionSpec
The version of the Items.
Return Value
Type: array<array<Microsoft.TeamFoundation.VersionControl.Client.BranchHistoryTreeItem[][]
Array of BranchHistoryTreeItem arrays.
Remarks
For each input ItemSpec, there is an associated BranchHistoryTreeItem[] in the output array.
.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.