Config.getDsnInfo

Get information about the DSN named dsn_name.

dsn_name's format is "[<username>[:<password>]@]<DSN>" (if <username> and optionally <password> are provided, they are ignored). Also see the gda.global.dsnSplit utility function.

class Config
static
getDsnInfo
(
string dsnName
)

Parameters

dsnName string

the name of the DSN to look for

Return Value

Type: gda.dsn_info.DsnInfo

a pointer to read-only #GdaDsnInfo structure, or null if not found