Bagikan melalui


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

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

See Also

Reference

VersionControlServer Class

Microsoft.TeamFoundation.VersionControl.Client Namespace