I am unexpectedly taking over for the previous administrator of our TFS system who left the company rather abruptly. I was made an admin of TFS and on the TFS application s
I agree with Martin about not editing the database directly, but this query might help with his 1st step (finding the id of the event that you want to unsubscribe from):
SELECT
ES.Id,
U.display_name,
ES.*
FROM [Tfs_iSystems].[dbo].[tbl_EventSubscription] ES
INNER JOIN [Tfs_Configuration].dbo.tbl_security_identity_cache U
ON ES.SubscriberId = U.tf_id
I found using the XML produced by the webservice cumbersome to work with. Once you have the Id you need I'd recommend unsubscribing by using the webservice:
http://localhost:8080/tfs/DefaultCollection/Services/V1.0/EventService.asmx?op=UnsubscribeEvent
Note this is for TFS2010