Freigeben über


TraceReplayOptions-Klasse

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

Vererbungshierarchie

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

Der TraceReplayOptions-Typ macht folgende Elemente verfügbar.

Konstruktoren

  Name Beschreibung
Öffentliche Methode TraceReplayOptions Initializes a new instance of the TraceReplayOptions class.

Zum Anfang

Eigenschaften

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

Zum Anfang

Methoden

  Name Beschreibung
Öffentliche Methode Equals (Geerbt von Object.)
Geschützte Methode Finalize (Geerbt von Object.)
Öffentliche Methode GetHashCode (Geerbt von Object.)
Öffentliche Methode GetType (Geerbt von Object.)
Geschützte Methode MemberwiseClone (Geerbt von Object.)
Öffentliche Methode ToString (Geerbt von Object.)

Zum Anfang

Beispiele

Using SQL Server Profiler

Threadsicherheit

Alle öffentlichen static (Shared in Visual Basic)-Elemente dieses Typs sind Threadsicher. Für Instanzelemente wird die Threadsicherheit nicht gewährleistet.

Siehe auch

Verweis

Microsoft.SqlServer.Management.Trace-Namespace

Andere Ressourcen

Ablaufverfolgungsflags (Transact-SQL)

Vorlagen und Berechtigungen in SQL Server Profiler