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
- requestContext 
 Type: Microsoft.TeamFoundation.Framework.Server.TeamFoundationRequestContext- The request context. 
- branchProperties 
 Type: Microsoft.TeamFoundation.VersionControl.Server.BranchProperties- The branch object to create or update. 
- updateExisting 
 Type: System.Boolean- True if you want to update an existing branch. 
.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.