TeamFoundationVersionControlService.UpdateBranchObject Method (TeamFoundationRequestContext, BranchProperties, Boolean)

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 _
)
public void UpdateBranchObject(
    TeamFoundationRequestContext requestContext,
    BranchProperties branchProperties,
    bool updateExisting
)
public:
void UpdateBranchObject(
    TeamFoundationRequestContext^ requestContext, 
    BranchProperties^ branchProperties, 
    bool updateExisting
)
member UpdateBranchObject : 
        requestContext:TeamFoundationRequestContext * 
        branchProperties:BranchProperties * 
        updateExisting:bool -> unit
public function UpdateBranchObject(
    requestContext : TeamFoundationRequestContext, 
    branchProperties : BranchProperties, 
    updateExisting : boolean
)

Parameters

  • updateExisting
    Type: System.Boolean

    True if you want to update an existing branch.

.NET Framework Security

See Also

Reference

TeamFoundationVersionControlService Class

UpdateBranchObject Overload

Microsoft.TeamFoundation.VersionControl.Server Namespace