TraceReplayOptions Class

The TraceReplayOptions object is a Replay object that represents the configuration settings required when replaying a trace.

Inheritance Hierarchy

System.Object
  Microsoft.SqlServer.Management.Trace.TraceReplayOptions

Namespace:  Microsoft.SqlServer.Management.Trace
Assembly:  Microsoft.SqlServer.ConnectionInfoExtended (in Microsoft.SqlServer.ConnectionInfoExtended.dll)

Syntax

'Declaration
<ComVisibleAttribute(False)> _
Public Class TraceReplayOptions
'Usage
Dim instance As TraceReplayOptions
[ComVisibleAttribute(false)]
public class TraceReplayOptions
[ComVisibleAttribute(false)]
public ref class TraceReplayOptions
[<ComVisibleAttribute(false)>]
type TraceReplayOptions =  class end
public class TraceReplayOptions

The TraceReplayOptions type exposes the following members.

Constructors

  Name Description
Public method TraceReplayOptions Initializes a new instance of the TraceReplayOptions class.

Top

Properties

  Name Description
Public property BlockedProcessesEnabled Gets or sets a value indicating whether the blocked processes monitor is enabled to search for blocked or blocking processes.
Public property BlockedProcessesWaitInterval Gets or sets the threshold, in seconds, at which blocked process reports are generated.
Public property DisplayPerfEvent Gets or sets a value indicating whether an additional event that reports execution time is displayed for each replayed event.
Public property HealthMonitorPollInterval Gets or sets the interval between checking for unused threads in seconds.
Public property HealthMonitorWaitInterval Gets or sets the maximum permitted lifetime of an unused thread.
Public property KeepResults Gets or sets the Boolean property value that specifies whether to keep the replay results.
Public property Mode Gets or sets whether the trace replay sequential or synchronized.
Public property NumberOfReplayThreads Gets or sets the number of threads used when replaying the trace.

Top

Methods

  Name Description
Public method Equals (Inherited from Object.)
Protected method Finalize (Inherited from Object.)
Public method GetHashCode (Inherited from Object.)
Public method GetType (Inherited from Object.)
Protected method MemberwiseClone (Inherited from Object.)
Public method ToString (Inherited from Object.)

Top

Examples

Using SQL Server Profiler

Thread Safety

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

See Also

Reference

Microsoft.SqlServer.Management.Trace Namespace

Other Resources

Trace Flags (Transact-SQL)

SQL Server Profiler Templates and Permissions