Datasnap.Win.MConnect.TSharedConnection.DoConnect

From RAD Studio API Documentation
Jump to: navigation, search

[–] Properties
Type:
procedure
function
Visibility: protected
Source:
Datasnap.Win.MConnect.pas
Datasnap.Win.MConnect.hpp
Unit: Datasnap.Win.MConnect
Parent: TSharedConnection

Delphi

procedure DoConnect; override;

C++

virtual void __fastcall DoConnect();

Description

Provides the interface for a method that opens a connection.

Datasnap.Win.MConnect.TSharedConnection.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