LEADTOOLS Medical (Leadtools.Medical.DataAccessLayer assembly) Send comments on this topic. | Back to Introduction - All Topics | Help Version 17.0.3.30
ConnectionName Property
See Also 
Leadtools.Medical.DataAccessLayer.Configuration Namespace > DataAccessSettings Class : ConnectionName Property



Gets or sets the connection name used by the data access provider.

Syntax

Visual Basic (Declaration) 
<ConfigurationPropertyAttribute(Name="connectionName", 
   Options=ConfigurationPropertyOptions.None, 
   IsDefaultCollection=False, 
   IsRequired=False, 
   IsKey=False)>
Public Property ConnectionName As String
Visual Basic (Usage)Copy Code
Dim instance As DataAccessSettings
Dim value As String
 
instance.ConnectionName = value
 
value = instance.ConnectionName
C# 
[ConfigurationPropertyAttribute(Name="connectionName", 
   Options=ConfigurationPropertyOptions.None, 
   IsDefaultCollection=false, 
   IsRequired=false, 
   IsKey=false)]
public string ConnectionName {get; set;}
C++/CLI 
[ConfigurationPropertyAttribute(Name="connectionName", 
   Options=ConfigurationPropertyOptions.None, 
   IsDefaultCollection=false, 
   IsRequired=false, 
   IsKey=false)]
public:
property String^ ConnectionName {
   String^ get();
   void set (    String^ value);
}

Property Value

The name of the connection used by the data access provider.

Remarks

This property maps to the connectionName element in the configuration.

The connection name should correspond to a value in the connectionStrings configuration section.

Requirements

Target Platforms: Microsoft .NET Framework 2.0, Windows 2000, Windows XP, Windows Server 2003 family, Windows Server 2008 family, Windows Vista, Windows 7

See Also

Leadtools.Medical.DataAccessLayer requires a Medical toolkit server license and unlock key. For more information, refer to: Imaging Pro/Document/Medical Features