set_dsn


Description:

public void set_dsn (string? dsn)

Changes the information displayed in this, to represent dsn.

If this's mode has gda_ui_login_hide_dsn_selection_mode, then the DSN information is extracted and displayed in the direct login area.

If dsn is not a declared data source name, then a warning is shown and the result is the same as having passed null for the dsn argument.

In any case this's mode (set by set_mode ) is not changed.

Parameters:

this

a Login object

dsn

a data source name, or null