Where to find the events Team Foundation server can fire?
Based on my previous post I got some questions regarding the events that Team System provides.
The main question is where did you obtain the list of events?
The list of events that Team System provides can be found by a combination of steps.
At first you can go to the following folder on your Team Foundation Server
C:Program FilesMicrosoft Visual Studio 2005 Team Foundation ServerWeb ServicesServicesv1.0Transforms
This folder contains a set of event type definitions. Every Event that can be processed using the Team System eventing infrastructure needs to be defined in the system. The schemas that you find define the data that gets posted with the event. This is what I used to define the filter syntax in the previous post.
When you browse the folder you will find the following list of events (BETA3, not the refresh yet, did not have the time yet to upgrade)
AclChangedEvent.xsd
ArtifactChangedEvent.xsd
branchmovedevent.xsd
BuildCompletionEvent.xsd
BuildStatusChangeEvent.xsd
CommonStructureChangedEvent.xsd
DataChangedEvent.xsd
IdentityChangedEvent.xsd
IdentityCreatedEvent.xsd
IdentityDeletedEvent.xsd
MembershipChangedEvent.xsd
nodecreatedevent.xsd
nodepropertieschangedevent.xsd
noderenamedevent.xsd
nodesdeletedevent.xsd
projectcreatedevent.xsd
projectdeletedevent.xsd
projectrenamedevent.xsd
WorkItemChangedEvent.xsd
The interesting thing to see here is that one important event is missing. This is the CheckinEvent.
To get information on this event, you need to take a look into the tfsIntegration database. Here you find a table called tbl_eventType. Here you can find the event and the schema for the event can be found in the column event_ type_schema. This is the missing Xsd that defines all the fields I mentioned in my previous post.
I hope this demystifies how I got the information I used for my subscription tool.