Datasnap.Win.MConnect.TCOMConnection

提供: RAD Studio API Documentation
移動先: 案内検索

Datasnap.Win.MConnect.TDispatchConnectionDatasnap.DBClient.TCustomRemoteServerData.DB.TCustomConnectionSystem.Classes.TComponentSystem.Classes.TPersistentSystem.TObjectTCOMConnection

Delphi

TCOMConnection = class(TDispatchConnection)

C++

class PASCALIMPLEMENTATION TCOMConnection : public TDispatchConnection

プロパティ

種類 可視性 ソース ユニット
class public
Datasnap.Win.MConnect.pas
Datasnap.Win.MConnect.hpp
Datasnap.Win.MConnect Datasnap.Win.MConnect

説明

TCOMConnection は,DCOM または OLE を使ってアプリケーションサーバーに接続するコンポーネントの基本クラスです。

TCOMConnection のインスタンスは作成しないでください。かわりに,アプリケーションサーバーと COM ベースの接続を確立するカスタムコンポーネントを作成する場合に,TCOMConnection を基本クラスとして使用します。

TCOMConnection は,TDispatchConnection から継承した汎用接続機能に COM オブジェクトを処理する機能を追加します。TCOMConnection には,次の 2 つの下位クラスがあります。DCOM を使って接続を確立および管理する TDCOMConnection,および下位互換性のために提供されていて,OLEnterprise を使って接続を処理する TOLEnterpriseConnection です。

関連項目