InstallShield 2016 » InstallScript Language Reference
Project • This information applies to the following project types:
• | InstallScript |
• | InstallScript MSI |
The SQLBrowse2 function supersedes the SQLBrowse function.
The SQLBrowse function creates a dialog that lets an end user display a list of all SQL Servers that are available on the network.
This function is in the SQLRT.obl file for InstallScript projects, and in the SQLCONV.obl file for InstallScript MSI projects. If you are using the SQL Scripts view in InstallShield, the appropriate file is automatically added to your linker settings. However, if you are not using this view, add the appropriate file to your linker settings: On the Build menu, click Settings, and then add it to the Libraries (.obl) box.
Syntax
SQLBrowse( svServer );
Parameters
Parameter |
Description |
svServer |
When the function returns, this parameter contains the string with the server name that the end user selected. If an alias name was used to connect to a SQL Server database, this parameter contains the alias name. |
Return Values
Return Value |
Description |
NEXT |
The end user clicked the OK button. |
CANCEL |
The end user clicked the Cancel button. |
< ISERR_SUCCESS |
The dialog could not be displayed. |
See Also
InstallShield 2016 Help LibraryMay 2017 |
Copyright Information | Flexera Software |