Assembly: Microsoft.SqlServer.ConnectionInfo (in microsoft.sqlserver.connectioninfo.dll)
With the TraceReplay object you can:
Replay events a from a trace log file or trace table.
Modify trace data as it is replayed.
In addition to the Trace and Replay objects, the trace log file can be accessed manually with SQL Server Profiler Reference or using a set of Transact-SQL stored procedures called Introducing SQL Trace.
This namespace, class, or member is supported only in version 2.0 of the Microsoft .NET Framework.