語言

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。

適用於

另請參閱