Page 1 of 1

GetServerList

Posted: Wed 30 Jan 2013 13:53
by rhondaridge
Is this available for IBDAC?

If so how can I use it?

Re: GetServerList

Posted: Thu 31 Jan 2013 11:15
by DemetrionQ
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.