RepositoryExtensions.UpdateBranchObject Method

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
<WebMethodAttribute> _
Public Sub UpdateBranchObject ( _
    branchProperties As BranchProperties, _
    updateExisting As Boolean _
)
[WebMethodAttribute]
public void UpdateBranchObject(
    BranchProperties branchProperties,
    bool updateExisting
)
[WebMethodAttribute]
public:
void UpdateBranchObject(
    BranchProperties^ branchProperties, 
    bool updateExisting
)
[<WebMethodAttribute>]
member UpdateBranchObject : 
        branchProperties:BranchProperties * 
        updateExisting:bool -> unit
public function UpdateBranchObject(
    branchProperties : BranchProperties, 
    updateExisting : boolean
)

Parameters

  • updateExisting
    Type: System.Boolean

    True if you want to update an existing branch.

.NET Framework Security

See Also

Reference

RepositoryExtensions Class

Microsoft.TeamFoundation.VersionControl.Server Namespace