Datasnap.Win.MidasCon.TMidasConnection.DoConnect
Delphi
procedure DoConnect; override;
C++
virtual void __fastcall DoConnect();
Properties
Type | Visibility | Source | Unit | Parent |
---|---|---|---|---|
procedure function |
protected | Datasnap.Win.MidasCon.pas Datasnap.Win.MidasCon.hpp |
Datasnap.Win.MidasCon | TMidasConnection |
Description
Connects to an application server.
Datasnap.Win.MidasCon.TMidasConnection.DoConnect inherits from Datasnap.Win.MConnect.TDCOMConnection.DoConnect. All content below this line refers to Datasnap.Win.MConnect.TDCOMConnection.DoConnect.
Connects to an application server.
DoConnect is called when the Connected property is set to true. DoConnect establishes a dual interface with the remote data module on the application server. This interface is used to locate providers on the application server.
To locate the server system, DoConnect uses the ComputerName property. If the ObjectBroker property is set, DoConnect gets this value from the object broker. Otherwise, the application must assign this property a value directly.