RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
TAdoDbxConnection.ConnectionString Property

Contains the property settings necessary to connect to a database.

Pascal
property ConnectionString: String;
C++
__property AnsiString ConnectionString;

The ConnectionString property must be set before opening a connection. These keyword-value pairs must be separated by semicolons (;). You can delimit values with single or double quotes. Names are not case sensitive. 

Most applications only need to set the ConnectionName property, which identifies a collection of properties stored in a dbxconnections.ini file. Alternatively, an application can specify all properties from the dbxconnections.ini and dbxdriver.ini file for the database being connected to. 

Many of the connection string values have corresponding read-only properties. 

 

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