|Important||This document may not represent best practices for current development, links to downloads and other resources may no longer be valid. Current recommended version can be found here. ArchiveDisclaimer|
Use TFSDeleteProject to delete a team project from Team System when the project is no longer needed on the Team Foundation Server.
When you run TFSDeleteProject, the system places the source control data in a deleted state in the operational store. It does not actually remove the data from the database, nor does it reclaim the disk space. Also, the system does not remove the warehouse data originating from the team project.
You can find the TFSDeleteProject command-line utility in <drive >\Program Files\Microsoft Visual Studio 8\Common7\IDE on Team Explorer client computer.
To use the TFSDeleteProject command, you must be a member of the Team Foundation Administrators security group or the Project Administrators security group. For more information, seeand .
Team project name
The name of the project. Use quotation marks if there are spaces in the name.
The server name. Use quotation marks if there are spaces in the name.
Use the quiet mode. Do not prompt the user for confirmation.
The name of the application-tier Team Foundation Server where the team project is located. This is required in multi-server environments.
The program should continue even if some parts cannot be deleted.
The following command deletes the team project StoreFront on the Team Foundation server AdventureWorks1 and from Team Explorer.
> TFSDeleteProject /server:AdventureWorks1 StoreFront