Datasnap.Win.MConnect.TCOMConnection

From RAD Studio API Documentation
Jump to: navigation, search

Datasnap.Win.MConnect.TDispatchConnectionDatasnap.DBClient.TCustomRemoteServerData.DB.TCustomConnectionSystem.Classes.TComponentSystem.Classes.TPersistentSystem.TObjectTCOMConnection
[–] Properties
Type: class
Visibility: public
Source:
Datasnap.Win.MConnect.pas
Datasnap.Win.MConnect.hpp
Unit: Datasnap.Win.MConnect
Parent: Datasnap.Win.MConnect

Delphi

TCOMConnection = class(TDispatchConnection)

C++

class PASCALIMPLEMENTATION TCOMConnection : public TDispatchConnection

Description

TCOMConnection is the base class for components that connect to application servers using DCOM or OLE.

Do not create instances of TCOMConnection. Instead, use TCOMConnection as a base class when created a custom component that forms a COM-based connection to an application server.

TCOMConnection adds to the ability to work with COM objects to the generic connection capabilities inherited from TDispatchConnection. It has two descendants: TDCOMConnection, which creates and manages connections using DCOM, and TOLEnterpriseConnection, which is provided for backward compatibility and handles connections using OLEnterprise.

See Also