Delen via


Repository5.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, _
    maxClientPathLength As Integer _
)
[WebMethodAttribute]
public void UpdateBranchObject(
    BranchProperties branchProperties,
    bool updateExisting,
    int maxClientPathLength
)
[WebMethodAttribute]
public:
void UpdateBranchObject(
    BranchProperties^ branchProperties, 
    bool updateExisting, 
    int maxClientPathLength
)
[<WebMethodAttribute>]
member UpdateBranchObject : 
        branchProperties:BranchProperties * 
        updateExisting:bool * 
        maxClientPathLength:int -> unit
public function UpdateBranchObject(
    branchProperties : BranchProperties, 
    updateExisting : boolean, 
    maxClientPathLength : int
)

Parameters

  • updateExisting
    Type: System.Boolean

    True if you wish to update an existing branch.

  • maxClientPathLength
    Type: System.Int32

    The maximum client supported server path length.

.NET Framework Security

See Also

Reference

Repository5 Class

Microsoft.TeamFoundation.VersionControl.Server Namespace