Datasnap.Win.ObjBrkr.TSimpleObjectBroker.Servers

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

property Servers: TServerCollection read FServers write SetServers stored IsServersStored;

C++

__property TServerCollection* Servers = {read=FServers, write=SetServers, stored=IsServersStored};

Properties

Type Visibility Source Unit Parent
property published
Datasnap.Win.ObjBrkr.pas
Datasnap.Win.ObjBrkr.hpp
Datasnap.Win.ObjBrkr TSimpleObjectBroker

Description

Maintains the list of servers that can be provided to connection components.

Use Servers to specify the list of servers that the simple object broker can return from the GetComputerForProgID and GetComputerForGUID methods.

Each item in the collection keeps track of whether the last connection attempt to that server was successful, and if not, the simple object broker ignores that server. In addition, individual servers in the collection can be disabled so that the simple object broker ignores them until they are re-enabled.

See Also