From RAD Studio API Documentation
Jump to: navigation, search


property ConnectionBroker: TConnectionBroker read FConnectionBroker write SetConnectionBroker;


__property TConnectionBroker* ConnectionBroker = {read=FConnectionBroker, write=SetConnectionBroker};


Type Visibility Source Unit Parent
property public
Datasnap.DBClient TCustomClientDataSet


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

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.

See Also