Поделиться через


ManageableConfigurationSource Class

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.

Represents a configuration source that retrieves configuration information from an arbitrary file, overrides the configuration information with values from the registry's group policy keys, and publishes WMI objects that represent the configuration information.

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

Syntax

'Declaration
<ConfigurationElementTypeAttribute(GetType(ManageableConfigurationSourceElement))> _
PublicClassManageableConfigurationSource _
    Implements IConfigurationSource
[ConfigurationElementTypeAttribute(typeof(ManageableConfigurationSourceElement))]
publicclassManageableConfigurationSource : IConfigurationSource
[ConfigurationElementTypeAttribute(typeof(ManageableConfigurationSourceElement))]
publicref classManageableConfigurationSource : IConfigurationSource
publicclass ManageableConfigurationSource implements IConfigurationSource

Remarks

This configuration source uses a Configuration object to deserialize configuration, so the configuration file must be a valid .NET Framework configuration file. Multiple instances of ManageableConfigurationSource can be created with a given configuration; however instances with the same configuration will share the same configuration objects, and WMI objects will be published only once regardless of how many instances there are.

Inheritance Hierarchy

System.Object
  Microsoft.Practices.EnterpriseLibrary.Common.Configuration.Manageability.ManageableConfigurationSource

See Also

ManageableConfigurationSource Members

Microsoft.Practices.EnterpriseLibrary.Common.Configuration.Manageability Namespace

Microsoft.Practices.EnterpriseLibrary.Common.Configuration.FileConfigurationSource

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.