I'm trying to use Xevent Events to monitor database events with a C# app.
The problem I'm having is identifying the list of members available to monitor, they are all String types and I can't find a list of them anywhere.
For example
Event evt = session.AddEvent("sql_statement_completed");
What are the other events apart from 'sql_statement_completed' that I can use.
It gets worse as we delve down
evt.EventFields["collect_statement"].Value = 1;
What other columns are available with the 'sql_statement_completed' event apart from 'collect_statement'.
If we try and add a target to this session what are the list of targets available ? 'event_file' is one but where can i find a complete list of available targets
Target targ = demo.AddTarget("event_file");
Typically all the documentation is structured like the link below and while it notes the method takes a string parameter, it doesn't tell me the list of valid string parameters.
http://msdn.microsoft.com/en-us/library/ff879496.aspx
All these field names appear subtly different from there profiler counterparts and I just can't find a list of them anywhere.
Thanks,
John