ConfigurationSourceHandler.GetSubordinateSource Method
Returns a subordinate IConfigurationSource with the specified name.
Throws ConfigurationSourceErrorsException if the source was not found.
Namespace: Microsoft.Practices.EnterpriseLibrary.Common.Configuration
Assembly: Microsoft.Practices.EnterpriseLibrary.Common (in Microsoft.Practices.EnterpriseLibrary.Common.dll)
Syntax
'Declaration
Protected Function GetSubordinateSource ( _
sourceName As String _
) As IConfigurationSource
protected IConfigurationSource GetSubordinateSource(
string sourceName
)
protected:
IConfigurationSource^ GetSubordinateSource(
String^ sourceName
)
protected function GetSubordinateSource(
sourceName : String
) : IConfigurationSource
Parameters
- sourceName
Type: System.String
The name of the source that should be returned.
Return Value
The IConfigurationSource instance.
See Also
ConfigurationSourceHandler Class
Microsoft.Practices.EnterpriseLibrary.Common.Configuration Namespace