Partager via


CrmConfigurationProvider.GetConnectionStringNameFromContext Method (String, Boolean)

 

Applies To: Dynamics CRM 2015

Namespace:   Microsoft.Xrm.Client.Configuration
Assembly:  Microsoft.Xrm.Client (in Microsoft.Xrm.Client.dll)

Syntax

public virtual string GetConnectionStringNameFromContext(
    string contextName,
    bool allowDefaultFallback = false
)
public:
virtual String^ GetConnectionStringNameFromContext(
    String^ contextName,
    bool allowDefaultFallback = false
)
abstract GetConnectionStringNameFromContext : 
        contextName:string *
        allowDefaultFallback:bool = false -> string
override GetConnectionStringNameFromContext : 
        contextName:string *
        allowDefaultFallback:bool = false -> string
Public Overridable Function GetConnectionStringNameFromContext (
    contextName As String,
    allowDefaultFallback As Boolean
) As String

Parameters

Return Value

Type: System.String

Type: String
.

See Also

CrmConfigurationProvider Class
Microsoft.Xrm.Client.Configuration Namespace

Return to top

© 2017 Microsoft. All rights reserved. Copyright