Deletes a branch object and all associated relationships.
Namespace:  Microsoft.TeamFoundation.VersionControl.Server
Assembly:  Microsoft.TeamFoundation.VersionControl.Server (in Microsoft.TeamFoundation.VersionControl.Server.dll)
Syntax
'Declaration
<WebMethodAttribute> _
Public Sub DeleteBranchObject ( _
    rootItem As ItemIdentifier, _
    maxClientPathLength As Integer _
)
[WebMethodAttribute]
public void DeleteBranchObject(
    ItemIdentifier rootItem,
    int maxClientPathLength
)
[WebMethodAttribute]
public:
void DeleteBranchObject(
    ItemIdentifier^ rootItem, 
    int maxClientPathLength
)
[<WebMethodAttribute>]
member DeleteBranchObject : 
        rootItem:ItemIdentifier * 
        maxClientPathLength:int -> unit
public function DeleteBranchObject(
    rootItem : ItemIdentifier, 
    maxClientPathLength : int
)
Parameters
- 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.