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) 成员都是线程安全的。不保证所有实例成员都是线程安全的。
请参阅
参考
Microsoft.SqlServer.Management.Trace 命名空间