API:Data.Win.ADODB.TADOConnection.Create
Delphi
constructor Create(AOwner: TComponent); override;
C++
__fastcall virtual TADOConnection(System::Classes::TComponent* AOwner);
Properties
Type | Visibility | Source | Unit | Parent |
---|---|---|---|---|
constructor | public | Data.Win.ADODB.pas Data.Win.ADODB.hpp |
Data.Win.ADODB | TADOConnection |
Description
Creates an instance of TCustomConnection.
Data.Win.ADODB.TADOConnection.Create inherits from Data.DB.TCustomConnection.Create. All content below this line refers to Data.DB.TCustomConnection.Create.
Creates an instance of TCustomConnection.
Call Create to instantiate a connection component at runtime. Connection components added to forms or data modules at design time are created automatically.
The Owner parameter specifies another component (usually a form or data module) that is responsible for freeing the connection component.