Config.defineDsn

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).

class Config
static
bool
defineDsn

Parameters

info gda.dsn_info.DsnInfo

a pointer to a filled GdaDsnInfo structure

Return Value

Type: bool

TRUE if no error occurred

Throws