CloudConfiguration.GetConnectionInfo Method (Type)
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
)
public:
IDictionary<String^, Object^>^ GetConnectionInfo(
Type^ type
)
member GetConnectionInfo :
type:Type -> IDictionary<string, Object>
Public Function GetConnectionInfo (
type As Type
) As IDictionary(Of String, Object)
Parameters
type
Type: System.TypeThe type for which connection information should be obtained.
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