GetServerList

Discussion of open issues, suggestions and bugs regarding IBDAC (InterBase Data Access Components) for Delphi, C++Builder, Lazarus (and FPC)
Post Reply
rhondaridge
Posts: 4
Joined: Fri 25 Jan 2013 12:03

GetServerList

Post by rhondaridge » Wed 30 Jan 2013 13:53

Is this available for IBDAC?

If so how can I use it?

DemetrionQ
Devart Team
Posts: 271
Joined: Wed 23 Jan 2013 11:21

Re: GetServerList

Post by DemetrionQ » Thu 31 Jan 2013 11:15

Hello.

To retrieve the server list, you can use the GetServerList method of the TIBCConnectDialog component. For correct work, you should bind TIBCConnectDialog to the TIBCConnection component. The following is a working code example:

IBCConnection1.ConnectDialog:=IBCConnectDialog1;
IBCConnectDialog1.GetServerList(Memo1.Lines);

Note that due to InterBase and Firebird servers specificity, commonly, there is no possibility to retrieve the server list working in your local network. Therefore this method just loads the saved list of the servers, that were connected to successfully, from the registry.

Post Reply