如何找出谁运行了 TFS 销毁命令? [英] How to find out who ran the TFS Destroy Command?

查看:32
本文介绍了如何找出谁运行了 TFS 销毁命令?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我有理由相信 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 销毁命令?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆