This feature will be removed in a future version of Microsoft SQL Server. Avoid using this feature in new development work, and plan to modify applications that currently use this feature. Use Extended Events instead.
When passed the ID of a specific trace, fn_trace_geteventinfo returns information about that trace. When passed an invalid ID, this function returns an empty rowset.