TraceReplayOptions.DisplayPerfEvent Property

Definition

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

public:
 property bool DisplayPerfEvent { bool get(); void set(bool value); };
public bool DisplayPerfEvent { get; set; }
member this.DisplayPerfEvent : bool with get, set
Public Property DisplayPerfEvent As Boolean

Property Value

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

Remarks

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.

Applies to