1、连接到tfs数据库服务器的目标目录库;
2、查tbl_workspace表,找出相应的工作目录的'workspaceid' ,比如 select * from tbl_workspace where workspacename='somebody'
3、检查并删除tbl_pendingchange表中尚未签入的行,如: select * from tbl_pendingchange where workspaceid='workspaceid'
4、检查并删除tbl_lock表中被锁定的行。如:select * from tbl_lock where workspaceid='workspaceid'