How to: Remove Labels

In Team Foundation source control, a label is a name applied to a specific set of revisions, which are also known as a snapshot build. For more information, see How to: Apply Labels. Team Foundation source control includes functionality to remove these labels as described in the following procedures.

Required Permissions

To perform these procedures, you must own the label or have the Administer labels permission set to Allow. For more information, see Team Foundation Server Permissions.

To remove labels

  1. Locate the label that you wish to remove. For more information, see How to: Find Labels.

  2. Select the label that you want to remove and click Delete.

    The Delete Label confirmation dialog box is displayed.

  3. Click OK.

  4. Click Close.

To remove labels from command line

  1. Click Start, click All Programs and point to Microsoft Visual Studio 2005.

  2. Point to Visual Studio Tools and then click Visual Studio 2005 Command Prompt.

  3. Type cd path, where path is the directory containing the applicable workspace.

  4. Type tf label /delete label name, where label name is the name of the label that you want to delete.

    Note

    For the full syntax of the label command, see Label Command (Team Foundation Source Control).

See Also

Reference

Label Command (Team Foundation Source Control)

Concepts

Working with Labels
Working with Source Control Changesets