Config.defineDsn

bool defineDsn(gda.dsn_info.DsnInfo info)

Add or update a DSN from the definition in info.

This method may fail with a GDA_CONFIG_ERROR domain error (see the #GdaConfigError error codes).

Parameters

infoa pointer to a filled GdaDsnInfo structure

Returns

TRUE if no error occurred

Throws

[ConfigException]