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
requestContext
Type: Microsoft.TeamFoundation.Framework.Server.TeamFoundationRequestContextThe request context.
rootItem
Type: Microsoft.TeamFoundation.VersionControl.Server.ItemIdentifierName of the branch to delete.
.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.