共用方式為


VersionControlServer.QueryRootBranchObjects Method

Queries all BranchObject objects that have no parent.

Namespace:  Microsoft.TeamFoundation.VersionControl.Client
Assembly:  Microsoft.TeamFoundation.VersionControl.Client (in Microsoft.TeamFoundation.VersionControl.Client.dll)

Syntax

'Declaration
Public Function QueryRootBranchObjects ( _
    recursion As RecursionType _
) As BranchObject()
public BranchObject[] QueryRootBranchObjects(
    RecursionType recursion
)
public:
array<BranchObject^>^ QueryRootBranchObjects(
    RecursionType recursion
)
member QueryRootBranchObjects : 
        recursion:RecursionType -> BranchObject[] 
public function QueryRootBranchObjects(
    recursion : RecursionType
) : BranchObject[]

Parameters

Return Value

Type: array<Microsoft.TeamFoundation.VersionControl.Client.BranchObject[]
An array of BranchObject objects.

.NET Framework Security

See Also

Reference

VersionControlServer Class

Microsoft.TeamFoundation.VersionControl.Client Namespace