CrmConfigurationManager.GetConnectionStringNameFromContext Method (String, Boolean)
Applies To: Dynamics CRM 2013
Retrieves the connection string name from the context name.
Namespace: Microsoft.Xrm.Client.Configuration
Assembly: Microsoft.Xrm.Client (in Microsoft.Xrm.Client.dll)
Syntax
public static string GetConnectionStringNameFromContext(
string contextName,
bool allowDefaultFallback = false
)
public:
static String^ GetConnectionStringNameFromContext(
String^ contextName,
bool allowDefaultFallback = false
)
static member GetConnectionStringNameFromContext :
contextName:string *
allowDefaultFallback:bool = false -> string
Public Shared Function GetConnectionStringNameFromContext (
contextName As String,
allowDefaultFallback As Boolean
) As String
Parameters
contextName
Type: System.StringType: String.
allowDefaultFallback
Type: System.BooleanType: Boolean. Whether to allow fallback to the default.
Return Value
Type: System.String
Type: String
.
See Also
CrmConfigurationManager Class
Microsoft.Xrm.Client.Configuration Namespace
Developer extensions for Microsoft Dynamics CRM 2013
Return to top