RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
TSQLConnection.LibraryName Property

Specifies the dbExpress driver that TSQLConnection uses to establish a connection.

Pascal
property LibraryName: string;
C++
__property AnsiString LibraryName;

LibraryName is the dbExpress library associated with the driver specified by DriverName. Most applications do not need to use LibraryName directly, because this property is set automatically when the DriverName property is set.

Note: The association between a dbExpress library and a driver name is stored in the dbxdrivers.ini
file when you install the dbExpress driver. The file named by this property is the only dbExpress file that must be deployed with your application.
Note: The LibraryName, GetDriverFunc, and VenderLib properties all reflect the values in the dbxdrivers.ini
file. Because these property values are published (stored with the connection component), it is possible to deploy an application without deploying the dbxdrivers.ini file.  

 

Copyright(C) 2009 Embarcadero Technologies, Inc. All Rights Reserved.
What do you think about this topic? Send feedback!