Partager via


ManageableConfigurationSourceElement.EnableWmi 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 or sets the value for Wmi enablement.

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

Syntax

'Declaration
<ConfigurationPropertyAttribute("enableWmi", DefaultValue := True)> _
PublicPropertyEnableWmiAs Boolean
[ConfigurationPropertyAttribute("enableWmi", DefaultValue = true)]
public bool EnableWmi { get; set; }
[ConfigurationPropertyAttribute(L"enableWmi", DefaultValue = true)]
public:
property bool EnableWmi {
    bool get ();
    voidset (bool value);
}
publicfunction getEnableWmi () : boolean
publicfunction setEnableWmi (value : boolean)

See Also

ManageableConfigurationSourceElement Class

Microsoft.Practices.EnterpriseLibrary.Common.Configuration.Manageability.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.