Compartir a través de


TraceReplayOptions.DisplayPerfEvent Propiedad

Gets or sets a value indicating whether an additional event that reports execution time is displayed for each replayed event.

Espacio de nombres:  Microsoft.SqlServer.Management.Trace
Ensamblado:  Microsoft.SqlServer.ConnectionInfoExtended (en Microsoft.SqlServer.ConnectionInfoExtended.dll)

Sintaxis

'Declaración
Public Property DisplayPerfEvent As Boolean 
    Get 
    Set
'Uso
Dim instance As TraceReplayOptions 
Dim value As Boolean 

value = instance.DisplayPerfEvent

instance.DisplayPerfEvent = value
public bool DisplayPerfEvent { get; set; }
public:
property bool DisplayPerfEvent {
    bool get ();
    void set (bool value);
}
member DisplayPerfEvent : bool with get, set
function get DisplayPerfEvent () : boolean 
function set DisplayPerfEvent (value : boolean)

Valor de la propiedad

Tipo: System.Boolean
True if the additional event is displayed for each replayed event; otherwise,false (default).

Comentarios

When the value of DisplayPerfEvent is true, performance information is captured and reported for replayed events. The trace displays one performance event for each replayed event. The performance event includes the following performance information:

  • ExecutionTime. The elapsed time on the client in milliseconds between the submission of the query and the server's response.

  • **FetchAndExecutionTime.**The elapsed time on the client in milliseconds between the submission of the query and the fetching of all rows.

Vea también

Referencia

TraceReplayOptions Clase

Espacio de nombres Microsoft.SqlServer.Management.Trace