共用方式為


DiagnosticSection.PerformanceCountersEnabled 屬性

定義

取得或設定布林值 (Boolean),表示是否啟用效能計數器以供診斷用途。

public:
 property bool PerformanceCountersEnabled { bool get(); void set(bool value); };
[System.Configuration.ConfigurationProperty("performanceCountersEnabled", DefaultValue=true)]
public bool PerformanceCountersEnabled { get; set; }
[<System.Configuration.ConfigurationProperty("performanceCountersEnabled", DefaultValue=true)>]
member this.PerformanceCountersEnabled : bool with get, set
Public Property PerformanceCountersEnabled As Boolean

屬性值

如果啟用效能計數器則為 true,否則為 false

屬性

適用於