Connection.newFromString

gda.connection.Connection newFromString(string providerName, string cncString, string authString, gda.types.ConnectionOptions options)

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.

Parameters

providerNameprovider ID to connect to, or null
cncStringconnection string.
authStringauthentication string, or null
optionsoptions for the connection (see #GdaConnectionOptions).

Returns

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

Throws