API:Data.SqlExpr.TSQLConnection.DoConnect

From RAD Studio API Documentation
Jump to: navigation, search

[–] Properties
Type:
procedure
function
Visibility: protected
Source:
Data.SqlExpr.pas
Data.SqlExpr.hpp
Unit: Data.SqlExpr
Parent: TSQLConnection

Delphi

procedure DoConnect; override;

C++

virtual void __fastcall DoConnect();

Description

Provides the interface for a method that opens a connection.

Data.SqlExpr.TSQLConnection.DoConnect inherits from Data.DB.TCustomConnection.DoConnect. All content below this line refers to Data.DB.TCustomConnection.DoConnect.

Provides the interface for a method that opens a connection.

The Connected property uses DoConnect to establish a connection. Descendent classes override the DoConnect method to establish their connection as appropriate. As implemented in TCustomConnection, DoConnect does nothing.

See Also