Connection.newFromDsn
gda.connection.Connection newFromDsn(string dsn, string authString, gda.types.ConnectionOptions options) staticThis function is similar to gda.connection.Connection.openFromDsn, except it does not actually open the connection, you have to open it using gda.connection.Connection.open.
Parameters
dsn | data source name. |
authString | authentication string, or null |
options | options for the connection (see #GdaConnectionOptions). |
Returns
a new #GdaConnection if connection opening was successful or null if there was an error.
Throws
[ConnectionException]