Config.getDsnInfo

gda.dsn_info.DsnInfo getDsnInfo(string dsnName)

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.

Parameters

dsnNamethe name of the DSN to look for

Returns

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