TraceReplay Members

The TraceReplay object is a Replay object that represents the replay operation for trace log files and trace tables.

The following tables list the members exposed by the TraceReplay type.

Public Constructors

  Name Description
TraceReplay Initializes a new instance of the TraceReplay class.

Top

Public Properties

  Name Description
ms220894.pubproperty(en-US,SQL.90).gif Connection Gets or sets the connection with an instance of Microsoft SQL Server.
ms220894.pubproperty(en-US,SQL.90).gif Options Gets or sets the configuration options for replaying the trace.
ms220894.pubproperty(en-US,SQL.90).gif OutputFile Gets or sets the name of an optional file to which trace replay output is streamed.
ms220894.pubproperty(en-US,SQL.90).gif OutputTable Gets or sets the name of an optional table to which trace replay output is streamed.
ms220894.pubproperty(en-US,SQL.90).gif Source Gets or sets the TraceReader object that contains the trace to be replayed.

Top

Public Methods

(see also Protected Methods )

  Name Description
ms220894.pubmethod(en-US,SQL.90).gif Dispose Deletes the trace information.
ms220894.pubmethod(en-US,SQL.90).gif Equals  Overloaded. (inherited from Object )
ms220894.pubmethod(en-US,SQL.90).gif GetHashCode  (inherited from Object )
ms220894.pubmethod(en-US,SQL.90).gif GetType  (inherited from Object )
ms220894.pubmethod(en-US,SQL.90).gif Pause Pauses the trace replay.
ms220894.pubmethod(en-US,SQL.90).gifms220894.static(en-US,SQL.90).gif ReferenceEquals  (inherited from Object )
ms220894.pubmethod(en-US,SQL.90).gif Start Starts the trace replay.
ms220894.pubmethod(en-US,SQL.90).gif Stop Stops the trace replay.
ms220894.pubmethod(en-US,SQL.90).gif ToString  (inherited from Object )

Top

Protected Methods

  Name Description
ms220894.protmethod(en-US,SQL.90).gif Finalize Overridden. Completes the trace replay.
ms220894.protmethod(en-US,SQL.90).gif MemberwiseClone  (inherited from Object )

Top

Public Events

  Name Description
ms220894.pubevent(en-US,SQL.90).gif ReplayEvent Invokes the handler before an event is replayed.
ms220894.pubevent(en-US,SQL.90).gif ReplayPause Invokes the handler before a replayed trace is paused.
ms220894.pubevent(en-US,SQL.90).gif ReplayResultEvent Invokes the handler before a result is returned from a replayed event.
ms220894.pubevent(en-US,SQL.90).gif ReplayStart Invokes the handler before a replayed trace is started.
ms220894.pubevent(en-US,SQL.90).gif ReplayStop Invokes the handler before a replayed trace is stopped.

Top

See Also

Reference

TraceReplay Class
Microsoft.SqlServer.Management.Trace Namespace

Other Resources

Trace Flags (Transact-SQL)
Using SQL Server Profiler