The TUniConnection.SpecificOptions dialog Connect tab includes a SERVER combobox containing a list of all currently available/detected SQL SERVER database servers.
How do I get this server list at run-time so that the user can select a server to make a connection ?
List of available SQL SERVER database servers
Hello,
You can use the GetServerList global function from the Uni unit in the following way:
You can use the GetServerList global function from the Uni unit in the following way:
Code: Select all
str := TStringList.Create;
try
GetServerList('SQL Server', str);
// your code
finally
str.Free;
end;