DiagnosticSection.WmiProviderEnabled Właściwość

Definicja

Pobiera lub ustawia wartość określającą, czy dostawca WMI zestawu jest włączony.

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

Wartość właściwości

true jeśli dostawca WMI zestawu jest włączony; w przeciwnym razie , false. Wartość domyślna to false.

Atrybuty

Uwagi

Dostawca WMI jest wymagany, aby użytkownicy uzyskali dostęp w czasie wykonywania do funkcji inspekcji i kontroli WCF.

Dotyczy