ISWiSQLDatabaseServer Object

InstallShield 2016 » Automation Interface

Project • This information applies to the following project types:

Basic MSI
DIM
InstallScript
InstallScript MSI

ISWiSQLDatabaseServer represents a database server that you can choose to target by version requirements at run time. You can retrieve an ISWiSQLDatabaseServer object by using the ISWiSQLDatabaseServers collection.

Members

ISWiSQLDatabaseServer Object Members

Name

Type

Description

InsertSQLScript

Method

Call the InsertSQLScript method to insert an existing script file to a SQL Connection in the InstallShield interface.

ISWiSQLRequirements

Collection

Returns the collection of ISWiSQLRequirements associated with this connection.

ISWiSQLScripts

Collection

Returns the collection of ISWiSQLScripts associated with this connection.

Name

Read-Write Property

This string property gets or sets the connection name for the database server.

Order

Read-Write Property

This integer property gets or sets the connection order.

Password

Read-Write Property

This string gets or sets the password when you choose to connect to a server using SQL Server authentication.

SelectDatabaseServer(Name As String) As Boolean

Read-Write Property

This string gets or sets the selected database server name. At runtime, the installation will establish a connection and perform specified requirement checks on the designated database servers based on the sequence of the servers as they are listed.

Server

Read-Write Property

This string gets or sets the server name. At runtime, the installation uses this server name to connect to a SQL Server. This server will be used to install the SQL scripts contained within this connection. This value can be a property. Using a property allows you to dynamically set the name of this server at runtime. You must use the [Property] notation.

UserName

Read-Write Property

This string gets or sets the user name when you choose to connect to a server using SQL Server authentication.

Applies To

ISWiSQLConnection