TraceReplayOptions.DisplayPerfEvent 屬性

定義

取得或設定值,指出是否針對每一個重新執行的事件顯示報告執行時間的額外事件。

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

屬性值

Boolean

如果要針對每一個重新執行的事件顯示額外事件,則為 True,否則為 false (預設值)。

備註

當的值 DisplayPerfEvent 為時 true ,會針對重新執行的事件來捕捉和回報效能資訊。 追蹤會為每個重新執行的事件顯示一個效能事件。 效能事件包含下列效能資訊:

  • ExecutionTime. 用戶端在送出查詢和伺服器回應之間的經過時間(以毫秒為單位)。

  • FetchAndExecutionTime。 用戶端的經過時間(以毫秒為單位),這是查詢的提交與提取所有資料列之間的時間。

適用於