SQLRTGetConnectionAuthentication

InstallShield 2016 » InstallScript Language Reference

Project • This information applies to the following project types:

InstallScript
InstallScript MSI

The SQLRTGetConnectionAuthentication function gets the default SQL Server connection authentication type.

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

SQLRTGetConnectionAuthentication( szConnection );

Parameters

SQLRTGetConnectionAuthentication Parameters

Parameter

Description

szConnection

Specifies the SQL Server connection.

Return Values

SQLRTGetConnectionAuthentication Return Values

Return Value

Description

TRUE

Perform Windows authentication.

FALSE

Perform SQL authentication.

See Also