PerformanceCountersElement.Enabled 屬性

定義

取得或設定是否啟用效能計數器。

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

屬性值

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

屬性

備註

這個屬性的預設值為 false

適用於

另請參閱