RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
TCustomClientDataSet.ConnectionBroker Property

Specifies a connection broker that handles the connection to an application server.

Pascal
property ConnectionBroker: TConnectionBroker;
C++
__property TConnectionBroker ConnectionBroker;

Use ConnectionBroker to let a connection broker handle the connection to the server that supplies the client dataset with data. The connection broker specified by ConnectionBroker simply sets the RemoteServer property to the value of its Connection property. 

ConnectionBroker adds an extra layer of indirection to the specification of a connection component. This can make it easier to change the component you use to connect to an application server. If you have several client datasets in an application that all use the same connection broker, then you can change the component that connects them all to the application server by changing a single property (the Connection property of the connection broker) rather than having to change the RemoteServer property for every client dataset in the application. 

 

Copyright(C) 2009 Embarcadero Technologies, Inc. All Rights Reserved.
What do you think about this topic? Send feedback!