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)

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(Of String, Object)

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

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.

Return to top
Show: