Connection.newFromString

This function is similar to gda.connection.Connection.openFromString, except it does not actually open the connection, you have to open it using gda.connection.Connection.open.

class Connection
static
newFromString

Parameters

providerName string

provider ID to connect to, or null

cncString string

connection string.

authString string

authentication string, or null

options gda.types.ConnectionOptions

options for the connection (see #GdaConnectionOptions).

Return Value

Type: gda.connection.Connection

a new #GdaConnection if connection opening was successful or null if there was an error.

Throws