Share via


How to: Find 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 of a build. For more information, see How to: Apply Labels. Team Foundation source control includes functionality to search for these labels as described in the following procedure.

Required Permissions

To perform these procedures, you must have the Read permission set to Allow. For more information, see Team Foundation Server Permissions.

To find labels

  1. Open Source Control Explorer.

  2. On the File menu, click Source Control, click Label, and then click Find Label.

  3. In the Find Label dialog box, in the Name text box, optionally enter the name of the label.

  4. In the Project list, optionally select the team project affiliated with the label for which you are searching or leave the default value of All Projects to search all team projects.

  5. In the Owner text box, type the name or alias of the owner of the label, or leave it blank to search through all team members.

  6. Click Find Now.

    The Results list populates with labeled changesets that match the search criteria entered.

  7. Click Close.

    For information about how to edit a label, see How to: Edit Labels.

To list labels from command line

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

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

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

  4. Type tf labels.

    Note

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

See Also

Tasks

How to: Open Source Control Explorer

Reference

Label Command (Team Foundation Source Control)
History Command

Concepts

Working with Labels
Working with Source Control Changesets