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



Returns the System.Configuration.ConnectionStringSettings object based on the name of the registered DataAccessSettings from the connection strings configuration section in the receiver's configuration source.

Syntax

Visual Basic (Declaration) 
Public Function GetConnectionStringSettings() As ConnectionStringSettings
Visual Basic (Usage)Copy Code
Dim instance As DataAccessConfigurationView
Dim value As ConnectionStringSettings
 
value = instance.GetConnectionStringSettings()
C# 
public ConnectionStringSettings GetConnectionStringSettings()
C++/CLI 
public:
ConnectionStringSettings^ GetConnectionStringSettings(); 

Return Value

The System.Configuration.ConnectionStringSettings from configuration.

Remarks

The connection string will be retrieved from the configuration source if it contains the connection strings section, otherwise it will be retrieved from the default configuration file.

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