RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
TCustomSQLDataSet.InternalConnection Property

Indicates the component that connects the dataset to its database server, taking into account whether the connection was cloned.

Pascal
property InternalConnection: TSqlConnection;
C++
__property TSqlConnection InternalConnection;

Applications can't use this protected property. Instead, SQL datasets use InternalConnection internally when they need to access the dbExpress interfaces for the connection to the database server. Unlike the published SQLConnection property, InternalConnection handles the case when the dataset must use a clone of the primary connection because the server limits the number of active statements that the connection supports. 

It is not necessary to use InternalConnection except when using the connection component to reference its dbExpress interfaces. 

 

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