RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
DataStoreConnection.ConnectionString Property

String used to open a Blackfish SQL database.

Pascal
property ConnectionString: string;
C++
__property string ConnectionString;

ConnectionString gets or sets the string used to open a Blackfish SQL database. It specifies which database to connect to and miscellaneous other connection settings. Here is a typical connection string:

"database=c:\\db\\hr.jds;user=USER;password=PASSWORD" 

By default, the database is started in-process with your client code. If the database is started out of process, include the following options in the connection string: protocol=TCP;host=MYSERVERNAME. The "protocol" option is only valid for the Borland.Ds.Server assembly. The assembly Borland.DS.Driver can only connect out of process. The assembly Borland.DS.Mobile can only connect in-process. For a complete list of connection options, see ConnectionProperties

 

Copyright(C) 2008 CodeGear(TM). All Rights Reserved.
What do you think about this topic? Send feedback!