TeamFoundationVersionControlService.UpdateBranchObject Method (TeamFoundationRequestContext, BranchProperties, Boolean, PathLength)

Creates / updates a branch object. If the item exists but is not a branch object It will mark the item as a root of a branch.

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

Syntax

'Declaration
Public Sub UpdateBranchObject ( _
    requestContext As TeamFoundationRequestContext, _
    branchProperties As BranchProperties, _
    updateExisting As Boolean, _
    maxClientPathLength As PathLength _
)
public void UpdateBranchObject(
    TeamFoundationRequestContext requestContext,
    BranchProperties branchProperties,
    bool updateExisting,
    PathLength maxClientPathLength
)
public:
void UpdateBranchObject(
    TeamFoundationRequestContext^ requestContext, 
    BranchProperties^ branchProperties, 
    bool updateExisting, 
    PathLength maxClientPathLength
)
member UpdateBranchObject : 
        requestContext:TeamFoundationRequestContext * 
        branchProperties:BranchProperties * 
        updateExisting:bool * 
        maxClientPathLength:PathLength -> unit
public function UpdateBranchObject(
    requestContext : TeamFoundationRequestContext, 
    branchProperties : BranchProperties, 
    updateExisting : boolean, 
    maxClientPathLength : PathLength
)

Parameters

  • updateExisting
    Type: System.Boolean

    True if you wish to update an existing branch.

.NET Framework Security

See Also

Reference

TeamFoundationVersionControlService Class

UpdateBranchObject Overload

Microsoft.TeamFoundation.VersionControl.Server Namespace