get_dsn_info


Description:

public static unowned DsnInfo get_dsn_info (string dsn_name)

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 dsn_split utility function.

Parameters:

dsn_name

the name of the DSN to look for

Returns:

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