如何找出谁运行了TFS Destroy Command? [英] How to find out who ran the TFS Destroy Command?
本文介绍了如何找出谁运行了TFS Destroy Command?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我有理由相信TFS Destroy命令已在我的服务器上运行. TFS是否提供找出谁和何时完成的方法?
I have reason to believe that the TFS Destroy command was run on my server. Does TFS provide a way to find out who and when it was done?
推荐答案
TFS将所有用户启动的命令记录在数据库中14天.
TFS logs all user-initiated commands in the database for 14 days.
尝试连接到您的Tfs_Collection
数据库并运行以下查询:
Try connect to your Tfs_Collection
database and run the following query:
SELECT * FROM tbl_Command WITH (NOLOCK)
WHERE Command = 'Destroy'
此外,每当运行Destroy
命令时,都会在处理该命令的应用层上将事件记录到Application
事件日志中.
Additionally, any time a Destroy
command is run, an event is logged to the Application
Event Log on the Application Tier that processed the command.
这篇关于如何找出谁运行了TFS Destroy Command?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文