(available with 11.0.3 and later)
Purpose: Shows what traceflags, if any, are currently active in the server.
Usage:
dbcc traceflags