Is this available for IBDAC?
If so how can I use it?
GetServerList
-
DemetrionQ
- Devart Team
- Posts: 271
- Joined: Wed 23 Jan 2013 11:21
Re: GetServerList
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.
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.