RedirectedSectionElement.SourceName Property
Gets the name of the ConfigurationSourceElement which contains the configuration section.
Namespace: Microsoft.Practices.EnterpriseLibrary.Common.Configuration
Assembly: Microsoft.Practices.EnterpriseLibrary.Common (in Microsoft.Practices.EnterpriseLibrary.Common.dll)
Syntax
'Declaration
<ConfigurationPropertyAttribute("sourceName", IsRequired := True)> _
<EnvironmentalOverridesAttribute(False)> _
<ReferenceAttribute(GetType(CustomConfigurationElementCollection(Of ConfigurationSourceElement, ConfigurationSourceElement)), _
GetType(ConfigurationSourceElement))> _
<ViewModelAttribute("Microsoft.Practices.EnterpriseLibrary.Configuration.Design.ViewModel.BlockSpecifics.RedirectedSectionSourceProperty, Microsoft.Practices.EnterpriseLibrary.Configuration.DesignTime")> _
Public Property SourceName As String
[ConfigurationPropertyAttribute("sourceName", IsRequired = true)]
[EnvironmentalOverridesAttribute(false)]
[ReferenceAttribute(typeof(CustomConfigurationElementCollection<ConfigurationSourceElement, ConfigurationSourceElement>),
typeof(ConfigurationSourceElement))]
[ViewModelAttribute("Microsoft.Practices.EnterpriseLibrary.Configuration.Design.ViewModel.BlockSpecifics.RedirectedSectionSourceProperty, Microsoft.Practices.EnterpriseLibrary.Configuration.DesignTime")]
public string SourceName { get; set; }
[ConfigurationPropertyAttribute(L"sourceName", IsRequired = true)]
[EnvironmentalOverridesAttribute(false)]
[ReferenceAttribute(typeof(CustomConfigurationElementCollection<ConfigurationSourceElement^, ConfigurationSourceElement^>),
typeof(ConfigurationSourceElement))]
[ViewModelAttribute(L"Microsoft.Practices.EnterpriseLibrary.Configuration.Design.ViewModel.BlockSpecifics.RedirectedSectionSourceProperty, Microsoft.Practices.EnterpriseLibrary.Configuration.DesignTime")]
public:
property String^ SourceName {
String^ get ();
void set (String^ value);
}
public function get SourceName () : String
public function set SourceName (value : String)
Field Value
The name of the ConfigurationSourceElement which contains the configuration section.
See Also
RedirectedSectionElement Class
Microsoft.Practices.EnterpriseLibrary.Common.Configuration Namespace