Share via


ConnectionStringExtensions.ToDictionary Method (ConnectionStringSettings)

 

Applies To: Dynamics CRM 2015

Converts a set of connection strings to a dictionary.

Namespace:   Microsoft.Xrm.Client.Collections.Generic
Assembly:  Microsoft.Xrm.Client (in Microsoft.Xrm.Client.dll)

Syntax

public static IDictionary<string, string> ToDictionary(
    this ConnectionStringSettings connectionString
)
public:
[ExtensionAttribute]
static IDictionary<String^, String^>^ ToDictionary(
    ConnectionStringSettings^ connectionString
)
static member ToDictionary : 
        connectionString:ConnectionStringSettings -> IDictionary<string, string>
<ExtensionAttribute>
Public Shared Function ToDictionary (
    connectionString As ConnectionStringSettings
) As IDictionary(Of String, String)

Parameters

Return Value

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

Type: IDictionary<String, String>
The resulting dictionary.

See Also

ToDictionary Overload
ConnectionStringExtensions Class
Microsoft.Xrm.Client.Collections.Generic Namespace

Return to top

© 2017 Microsoft. All rights reserved. Copyright