Share via


CloudConfiguration.GetConnectionInfo<T> Method ()

 

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

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, a search for connection information is performed for all base types.

See Also

GetConnectionInfo Overload
CloudConfiguration Class
Microsoft.WindowsAzure.Common Namespace

Return to top