API:Datasnap.Win.MidasCon.TMidasConnection.Create

From RAD Studio API Documentation
Jump to: navigation, search

[–] Properties
Type: constructor
Visibility: public
Source:
Datasnap.Win.MidasCon.pas
Datasnap.Win.MidasCon.hpp
Unit: Datasnap.Win.MidasCon
Parent: TMidasConnection

Delphi

constructor Create(AOwner: TComponent); override;

C++

__fastcall virtual TMidasConnection(System::Classes::TComponent* AOwner);

Description

Creates and initializes a DCOM connection component.

Datasnap.Win.MidasCon.TMidasConnection.Create inherits from Datasnap.Win.MConnect.TDCOMConnection.Create. All content below this line refers to Datasnap.Win.MConnect.TDCOMConnection.Create.

Creates and initializes a DCOM connection component.

Call Create to instantiate TDCOMConnection at runtime. DCOM connection components placed in forms or data modules at design time are created automatically.

The AOwner parameter specifies the component (usually the form or data module) that is responsible for freeing the DCOM connection component.