API:Datasnap.DSConnect.TDSProviderConnection.DoConnect

From RAD Studio API Documentation
Jump to: navigation, search

[–] Properties
Type:
procedure
function
Visibility: protected
Source:
Datasnap.DSConnect.pas
Datasnap.DSConnect.hpp
Unit: Datasnap.DSConnect
Parent: TDSProviderConnection

Delphi

procedure DoConnect; override;

C++

virtual void __fastcall DoConnect();

Description

Provides the interface for a method that opens a connection.

Datasnap.DSConnect.TDSProviderConnection.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