Compartilhar via


InstrumentationConfigurationSection.WmiEnabled Property

Retired Content

This content is outdated and is no longer being maintained. It is provided as a courtesy for individuals who are still using these technologies. This page may contain URLs that were valid when originally published, but now link to sites or pages that no longer exist.

Gets and sets value of WmiEnabled

Namespace:  Microsoft.Practices.EnterpriseLibrary.Common.Instrumentation.Configuration
Assembly:  Microsoft.Practices.EnterpriseLibrary.Common (in Microsoft.Practices.EnterpriseLibrary.Common.dll)

Syntax

'Declaration
<ConfigurationPropertyAttribute("wmiEnabled", IsRequired := False, DefaultValue := False)> _
PublicPropertyWmiEnabledAs Boolean
[ConfigurationPropertyAttribute("wmiEnabled", IsRequired = false, DefaultValue = false)]
public bool WmiEnabled { get; set; }
[ConfigurationPropertyAttribute(L"wmiEnabled", IsRequired = false, DefaultValue = false)]
public:
property bool WmiEnabled {
    bool get ();
    voidset (bool value);
}
publicfunction getWmiEnabled () : boolean
publicfunction setWmiEnabled (value : boolean)

See Also

InstrumentationConfigurationSection Class

Microsoft.Practices.EnterpriseLibrary.Common.Instrumentation.Configuration Namespace

Retired Content

This content is outdated and is no longer being maintained. It is provided as a courtesy for individuals who are still using these technologies. This page may contain URLs that were valid when originally published, but now link to sites or pages that no longer exist.