Datasnap.Win.ObjBrkr.TSimpleObjectBroker.Servers

From RAD Studio API Documentation
Jump to: navigation, search

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

Delphi

property Servers: TServerCollection read FServers write SetServers stored IsServersStored;

C++

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

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