共用方式為


TeamFoundationVersionControlService.DeleteBranchObject Method (TeamFoundationRequestContext, ItemIdentifier)

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
Public Sub DeleteBranchObject ( _
    requestContext As TeamFoundationRequestContext, _
    rootItem As ItemIdentifier _
)
public void DeleteBranchObject(
    TeamFoundationRequestContext requestContext,
    ItemIdentifier rootItem
)
public:
void DeleteBranchObject(
    TeamFoundationRequestContext^ requestContext, 
    ItemIdentifier^ rootItem
)
member DeleteBranchObject : 
        requestContext:TeamFoundationRequestContext * 
        rootItem:ItemIdentifier -> unit
public function DeleteBranchObject(
    requestContext : TeamFoundationRequestContext, 
    rootItem : ItemIdentifier
)

Parameters

.NET Framework Security

See Also

Reference

TeamFoundationVersionControlService Class

DeleteBranchObject Overload

Microsoft.TeamFoundation.VersionControl.Server Namespace