Share via


Repository5.DeleteBranchObject Method

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

See Also

Reference

Repository5 Class

Microsoft.TeamFoundation.VersionControl.Server Namespace