Share via


CloudConfiguration.GetConnectionInfo Method (Type, String)

 

Gets the connection information for the specified type.

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

Syntax

public IDictionary<string, object> GetConnectionInfo(
    Type type,
    string name
)
public:
IDictionary<String^, Object^>^ GetConnectionInfo(
    Type^ type,
    String^ name
)
member GetConnectionInfo : 
        type:Type *
        name:string -> IDictionary<string, Object>
Public Function GetConnectionInfo (
    type As Type,
    name As String
) As IDictionary(Of String, Object)

Parameters

  • type
    Type: System.Type

    The type for which connection information should be obtained.

  • name
    Type: System.String

    The name of the connection information.

Return Value

Type: System.Collections.Generic.IDictionary<String, Object>

A collection of connection information that is used to instantiate the specified type; otherwise, null if connection information is not found.

Remarks

You can get insight into the connection information search by checking the tracing output. If connection information is not found for the specified type, a search for connection information is performed for all base types.

See Also

GetConnectionInfo Overload
CloudConfiguration Class
Microsoft.WindowsAzure.Common Namespace

Return to top