共用方式為


RepositoryExtensions.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 _
)
[WebMethodAttribute]
public void DeleteBranchObject(
    ItemIdentifier rootItem
)
[WebMethodAttribute]
public:
void DeleteBranchObject(
    ItemIdentifier^ rootItem
)
[<WebMethodAttribute>]
member DeleteBranchObject : 
        rootItem:ItemIdentifier -> unit
public function DeleteBranchObject(
    rootItem : ItemIdentifier
)

Parameters

.NET Framework Security

See Also

Reference

RepositoryExtensions Class

Microsoft.TeamFoundation.VersionControl.Server Namespace