RAD Studio VCL Reference
|
Specifies whether the TSQLConnection component loads the configuration named by ConnectionName immediately before connecting to the server.
property LoadParamsOnConnect: Boolean;
__property Boolean LoadParamsOnConnect;
Set LoadParamsOnConnect to true if you want the TSQLConnection object to load the connection configuration (DriverName and Params properties) associated with ConnectionName at runtime. Typically, this is unnecessary because when you set ConnectionName at design time, the DriverName and Params properties are automatically set as well. However, if you use a different dbxconnections.ini file at runtime, or if you temporarily override the DriverName or any connection parameter values at design time, setting LoadParamsOnConnect to true ensures that at runtime the connection is established using the configuration associated with ConnectionName in the dbxconnections.ini file.
Copyright(C) 2009 Embarcadero Technologies, Inc. All Rights Reserved.
|
What do you think about this topic? Send feedback!
|