Condividi tramite


Classe TraceReplayOptions

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

Gerarchia di ereditarietà

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

Spazio dei nomi  Microsoft.SqlServer.Management.Trace
Assembly:  Microsoft.SqlServer.ConnectionInfoExtended (in Microsoft.SqlServer.ConnectionInfoExtended.dll)

Sintassi

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

Nel tipo TraceReplayOptions sono esposti i membri seguenti.

Costruttori

  Nome Descrizione
Metodo pubblico TraceReplayOptions Initializes a new instance of the TraceReplayOptions class.

In alto

Proprietà

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

In alto

Metodi

  Nome Descrizione
Metodo pubblico Equals Ereditato da Object.
Metodo protetto Finalize Ereditato da Object.
Metodo pubblico GetHashCode Ereditato da Object.
Metodo pubblico GetType Ereditato da Object.
Metodo protetto MemberwiseClone Ereditato da Object.
Metodo pubblico ToString Ereditato da Object.

In alto

Esempi

Using SQL Server Profiler

Protezione dei thread

I membri static (Shared in Visual Basic) pubblici di questo tipo sono affidabili. Non è invece garantita la sicurezza dei membri dell'istanza.

Vedere anche

Riferimento

Spazio dei nomi Microsoft.SqlServer.Management.Trace

Altre risorse

Flag di traccia (Transact-SQL)

Modelli e autorizzazioni di SQL Server Profiler