InstallShield 2016 » InstallScript Language Reference
Project • This information applies to the following project types:
• | InstallScript |
• | InstallScript MSI |
The SQLRTGetServers2 function returns a list of database servers for the database technologies that are specified for a connection. When szConnection is empty, this function behaves as SQLRTGetServers.
Note • If you want to call any built-in SQL-related function before the OnSQLServerInitialize event handler is called in an InstallScript project or the OnSQLLogin event handler is called in an InstallScript MSI project, call the SQLRTInitialize2 function first. To learn more, see Using the SQL Run-Time Functions in InstallScript and InstallScript MSI Projects.
Syntax
SQLRTGetServers2( szConnection, bFilter );
Parameters
Parameter |
Description |
||||||
szConnection |
Specifies a connection. If this parameter is empty, the function returns a list of database servers on the network for all database technologies included in the installation. |
||||||
bFilter |
Specifies whether the list of database servers that is returned includes only local database servers:
|
Return Values
Returns a list of the database servers available on the network for database technologies specified for a connection.
See Also
InstallShield 2016 Help LibraryMay 2017 |
Copyright Information | Flexera Software |