SQLRTGetServers

InstallShield 2016 » InstallScript Language Reference

Project • This information applies to the following project types:

InstallScript
InstallScript MSI

The SQLRTGetServers function returns a list of database servers on the network for all database technologies included in the installation. When bFilter is TRUE, it returns only local database servers.

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

SQLRTGetServers( bFilter );

Parameters

SQLRTGetServers Parameters

Parameter

Description

bFilter

Specifies whether the list of database servers that is returned includes only local database servers:

TRUE—Return only local database servers.
FALSE—Return all database servers.

Return Values

Returns a list of the database servers available on the network for all database technologies included in the installation.

See Also