Datasnap.Win.MidasCon.TMidasConnection.UseBroker

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

property UseBroker: Boolean read FUseBroker write SetUseBroker;

C++

__property bool UseBroker = {read=FUseBroker, write=SetUseBroker, nodefault};

Properties

Type Visibility Source Unit Parent
property published
Datasnap.Win.MidasCon.pas
Datasnap.Win.MidasCon.hpp
Datasnap.Win.MidasCon TMidasConnection

Description

Indicates whether an OLEnterprise connection should use the OLEnterprise Business Object Broker.

When establishing connections to the application server using OLEnterprise, UseBroker specifies whether the connection should use the Business Object Broker. If UseBroker is true, TMidasConnection uses the Business Object Broker, and the ComputerName property specifies the name of the Business Object Broker. If UseBroker is false, TMidasConnection uses OLEnterprise, but does not go through the Business Object Broker. When UseBroker is false, ComputerName specifies the name of the OLEnterprise server.

For more information about using OLEnterprise, see the OLEnterprise documentation.

Note: The value of UseBroker has no effect unless ConnectType is ctOLEnterprise.

See Also