How to: Find Labels
In Team Foundation version 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 version control includes functionality to search for these labels as described in the following procedure.
To perform these procedures, you must have the Read permission set to Allow. For more information, see Team Foundation Server Permissions.
To find labels
Open Source Control Explorer.
On the File menu, click Source Control, click Label, and then click Find Label.
In the Find Label dialog box, in the Name text box, optionally enter the name of the label.
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.
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.
The Results list populates with labeled changesets that match the search criteria entered.
For information about how to edit a label, see How to: Edit Labels.
To list labels from command line
Click Start, click All Programs, and then point to Microsoft Visual Studio 2008.
Point to Visual Studio Tools and then click Visual Studio 2008 Command Prompt.
Type cd path, where path is the directory that contains the applicable workspace.
Type tf labels.
For the full syntax of the label command, see Label Command (Team Foundation Version Control).