Datasnap.Win.MidasCon.TMidasConnection.UseBroker

From RAD Studio API Documentation
Jump to: navigation, search

[–] Properties
Type: property
Visibility: published
Source:
Datasnap.Win.MidasCon.pas
Datasnap.Win.MidasCon.hpp
Unit: Datasnap.Win.MidasCon
Parent: TMidasConnection

Delphi

property UseBroker: Boolean read FUseBroker write SetUseBroker;

C++

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

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