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
- branchProperties
 Type: Microsoft.TeamFoundation.VersionControl.Server.BranchProperties
- 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
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.