API:Datasnap.Win.MConnect.TDCOMConnection
Delphi
TDCOMConnection = class(TCOMConnection)
C++
class PASCALIMPLEMENTATION TDCOMConnection : public TCOMConnection
Properties
Type | Visibility | Source | Unit | Parent |
---|---|---|---|---|
class | public | Datasnap.Win.MConnect.pas Datasnap.Win.MConnect.hpp |
Datasnap.Win.MConnect | Datasnap.Win.MConnect |
Description
TCOMConnection is the base class for components that connect to application servers using DCOM or OLE.
Datasnap.Win.MConnect.TDCOMConnection inherits from Datasnap.Win.MConnect.TCOMConnection. All content below this line refers to Datasnap.Win.MConnect.TCOMConnection.
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.