You can audit, alert on, and filter user-defined events. User-defined events are SQL events generated by the sp_trace_generateevent
stored procedure. Use this stored procedure to create custom SQL events that track data that may not be available in a standard SQL trace. For more information, see Microsoft Books Online.