用在三层结构程序的Client
用来连接中间层
英文帮助为:
TDCOMConnection is used in the client portion of a multi-tiered database application to establish and maintain the connection between the client and a remote application server. The DCOM connection object can
Establish an initial connection to a remote application server.
Obtain an IAppServer for the application server.
Obtain a list of providers on the application server.
Drop the connection to the remote application server.
TDCOMConnection uses DCOM to establish the initial connection between the client application and a remote application server. Once the connection is established, the client registers any or all of its client datasets with TDCOMConnection, and these client datasets use the IAppServer interface from the DCOM connection component to communicate with providers on the application server, or to otherwise call the application server’s data module interface.
To connect client applications to remote application servers using TCP/IP sockets, use TSocketConnection instead. To connect to remote application servers using HTTP, use the TWebConnection component. To connect to application servers using CORBA, use the TCORBAConnection component.