Share via


ConfigurationHelper.LookupConnectionInfo Method

Checks the connection information.

Namespace: Microsoft.WindowsAzure.Common.Internals
Assembly: Microsoft.WindowsAzure.Common (in Microsoft.WindowsAzure.Common.dll)

Usage

'Usage
Dim configurationSources As IEnumerable(Of Func(Of String, String))
Dim type As Type
Dim name As String
Dim settingsName As String
Dim settingsValue As String
Dim returnValue As IDictionary(Of String, Object)

returnValue = ConfigurationHelper.LookupConnectionInfo(configurationSources, type, name, settingsName, settingsValue)

Syntax

'Declaration
Public Shared Function LookupConnectionInfo ( _
    configurationSources As IEnumerable(Of Func(Of String, String)), _
    type As Type, _
    name As String, _
    <OutAttribute> ByRef settingsName As String, _
    <OutAttribute> ByRef settingsValue As String _
) As IDictionary(Of String, Object)
public static IDictionary<string,Object> LookupConnectionInfo (
    IEnumerable<Func<string,string>> configurationSources,
    Type type,
    string name,
    out string settingsName,
    out string settingsValue
)
public:
static IDictionary<String^, Object^>^ LookupConnectionInfo (
    IEnumerable<Func<String^, String^>^>^ configurationSources, 
    Type^ type, 
    String^ name, 
    [OutAttribute] String^% settingsName, 
    [OutAttribute] String^% settingsValue
)
public static IDictionary<String,Object> LookupConnectionInfo (
    IEnumerable<Func<String,String>> configurationSources, 
    Type type, 
    String name, 
    /** @attribute OutAttribute() */ /** @ref */ String settingsName, 
    /** @attribute OutAttribute() */ /** @ref */ String settingsValue
)

Parameters

  • configurationSources
    The configuration sources.
  • type
    The connection type.
  • name
    The connection name.
  • settingsName
    The settings name.
  • settingsValue
    The settings value.

Return Value

The connection information.

Thread Safety

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Platforms

Development Platforms

Windows Vista, Windows 7, Windows Server 2008, Windows 8.1, Windows Server 2012 R2, Windows 8 and Windows Server 2012

Target Platforms

See Also

Reference

ConfigurationHelper Class
ConfigurationHelper Members
Microsoft.WindowsAzure.Common.Internals Namespace