Datasnap.Win.MConnect.TDCOMConnection.Create

From RAD Studio API Documentation
Jump to: navigation, search

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

Delphi

constructor Create(AOwner: TComponent); override;

C++

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

Description

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.