Επεξεργασία

Κοινή χρήση μέσω


DiagnosticSection.WmiProviderEnabled Property

Definition

Gets or sets a value that specifies whether the WMI provider for the assembly is enabled.

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

Property Value

true if the WMI provider for the assembly is enabled; otherwise, false. The default is false.

Attributes

Remarks

The WMI provider is required for users to gain runtime access to the inspection and control features of WCF.

Applies to