Share via


CloudConfiguration.GetConnectionInfo<T> Method (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<T>(
    string name
)
public:
generic<typename T>
IDictionary<String^, Object^>^ GetConnectionInfo(
    String^ name
)
member GetConnectionInfo<'T> : 
        name:string -> IDictionary<string, Object>
Public Function GetConnectionInfo(Of T) (
    name As String
) As IDictionary(Of String, Object)

Parameters

  • 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.

Type Parameters

  • T
    The type for which connection information should be obtained.

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