VSTS2005中删除团队项目

VSTS2005中未在界面中提供删除团队项目的功能,但可通过如下命令行的方式删除:

一、Run命令行的用法:

Run cmd as a user in administrators group, then change current directory to C:/Program Files/Microsoft Visual Studio 8/Common7/IDE
Run dir , then you could find "TFSDeleteProject.exe"
用法: DeleteTeamProject [/q] [/force] </TeamFoundationServer:<服务器名>> <团队项
目名称>

从 Team Foundation 中删除团队项目。要使用此命令,您必须是 Team Foundation Server
Administrators 组的成员或要删除的项目的 Project Administrators 组的成员。使用此
命令时请务必小心,因为删除团队项目后将无法恢复。

   [/q] - 不提示进行确认。
   </TeamFoundationServer:<服务器名>> - Team Foundation 服务器的名称。
   [/force] - 即使无法删除某些数据也继续。
   <团队项目名称> - 项目的名称。如果名称中有空格,请使用引号。

二、删除MyTeamProject项目

C:/Program Files/Microsoft Visual Studio 8/Common7/IDE>TFSDeleteProject.exe /?
Team Foundation Delete Project Tool
(C) Copyright 2006 Microsoft Corporation. All rights reserved.

Usage: TfsDeleteProject [/q] [/force] </server:<server name>> <team project name
>

Deletes the Team Project from Team Foundation. To use this command, you must be
a member of either the Team Foundation Server Administrators group or a member
of the Project Administrators group for the project you are deleting. Use this
command with caution because after deleting the team project it cannot be recove
red.

   [/q] - Do not prompt for confirmation.
   </server:<server name>> - The name of the Team Foundation server.
   [/force] - Continue even if some data cannot be deleted.
   <team project name> - The name of the project. Use quotes if there are space
s in the name.

C:/Program Files/Microsoft Visual Studio 8/Common7/IDE>TFSDeleteProject.exe /server:PRCSGIM00533 /force NDA3.0
Warning: Deleting a team project cannot be undone. Are you sure you want to del
ete the team project (Y/N)?y

Deleting from Build ...
Done
Deleting from Work Item Tracking ...
Done
Deleting from Version Control ...
Done
Deleting Report Server files ...
Done
Deleting SharePoint site ...
Done
Deleting from Team Foundation Core ...
Done

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值