TraceReplayOptions 类

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

继承层次结构

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

命名空间:  Microsoft.SqlServer.Management.Trace
程序集:  Microsoft.SqlServer.ConnectionInfoExtended(在 Microsoft.SqlServer.ConnectionInfoExtended.dll 中)

语法

声明
<ComVisibleAttribute(False)> _
Public Class TraceReplayOptions
用法
Dim instance As TraceReplayOptions
[ComVisibleAttribute(false)]
public class TraceReplayOptions
[ComVisibleAttribute(false)]
public ref class TraceReplayOptions
[<ComVisibleAttribute(false)>]
type TraceReplayOptions =  class end
public class TraceReplayOptions

TraceReplayOptions 类型公开以下成员。

构造函数

  名称 说明
公共方法 TraceReplayOptions Initializes a new instance of the TraceReplayOptions class.

页首

属性

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

页首

方法

  名称 说明
公共方法 Equals (从 Object 继承。)
受保护方法 Finalize (从 Object 继承。)
公共方法 GetHashCode (从 Object 继承。)
公共方法 GetType (从 Object 继承。)
受保护方法 MemberwiseClone (从 Object 继承。)
公共方法 ToString (从 Object 继承。)

页首

线程安全

此类型的任何公共 static(在 Visual Basic 中为 Shared) 成员都是线程安全的。不保证所有实例成员都是线程安全的。