InstallShield 2016 » InstallScript Language Reference
Project • This information applies to the following project types:
• | InstallScript |
• | InstallScript MSI |
The SQLRTPutConnectionAuthentication function sets 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
SQLRTPutConnectionAuthentication( szConnection, bWinLogin );
Parameters
Parameter |
Description |
szConnection |
Specifies the name of the connection that you created in the SQL Scripts view. |
bWinLogin |
Specifies the initial state of the radio buttons specifying login using Windows credentials vs. SQL Server credentials. When this is TRUE, the password and login ID fields are disabled. When it is FALSE, indicating that SQL Server credentials are to be used, the password and login fields are enabled. Once the function returns, this parameter contains TRUE if the Windows credentials radio button was specified by the end user and FALSE if the SQL Server credentials radio was selected instead. |
Return Values
None
See Also
InstallShield 2016 Help LibraryMay 2017 |
Copyright Information | Flexera Software |