SQLRTGetBatchList

InstallShield 2016 » InstallScript Language Reference

Project • This information applies to InstallScript projects.

The SQLRTGetBatchList function returns the list of components that are associated with SQL scripts that need to be run when batch mode is enabled.

Note • The SQLRTGetBatchList function uses SQLRT.dll; therefore, it can be called only after SQLRTInitialize2 has already been called. To learn more, see Using the SQL Run-Time Functions in InstallScript and InstallScript MSI Projects.

Syntax

SQLRTGetBatchList( nOperation );

Parameters

SQLRTGetBatchList Parameters

Parameter

Description

nOperation

Pass either of the following constants through this parameter:

SQL_BATCH_INSTALL—Obtains the list of SQL scripts scheduled to be run during installation.
SQL_BATCH_UNINSTALL—Obtains the list of SQL scripts scheduled to be run during uninstallation.

Return Values

SQLRTGetBatchList Return Values

Return Value

Description

listConnections

Returns a list of component names.

Additional Information

For details about batch mode, see Specifying the Order for Running Multiple SQL Scripts That Are Associated with a Connection.

See Also