Anteckning
Åtkomst till den här sidan kräver auktorisering. Du kan prova att logga in eller ändra kataloger.
Åtkomst till den här sidan kräver auktorisering. Du kan prova att ändra kataloger.
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
- branchProperties
Type: Microsoft.TeamFoundation.VersionControl.Server.BranchProperties 
updateExisting
Type: System.BooleanTrue 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.