gda.dsn_info
Module for [DsnInfo] class
class DsnInfo
Types 1
classDsnInfo : gobject.boxed.Boxed
This structure defines the properties of a named data source (DSN).
Methods
string name() @property nothrowGet `name` field. Returns: the (unique) name of the DSN (plain text, not RFC 1738 encoded)void name(string propval) @property nothrowSet `name` field. Params: propval = the (unique) name of the DSN (plain text, not RFC 1738 encoded)string provider() @property nothrowGet `provider` field. Returns: the ID of the database provider to be used (plain text, not RFC 1738 encoded)void provider(string propval) @property nothrowSet `provider` field. Params: propval = the ID of the database provider to be used (plain text, not RFC 1738 encoded)string description() @property nothrowGet `description` field. Returns: a descriptive string (plain text, not RFC 1738 encoded), can be null.void description(string propval) @property nothrowSet `description` field. Params: propval = a descriptive string (plain text, not RFC 1738 encoded), can be null.string cncString() @property nothrowGet `cncString` field. Returns: the connection string, a semi-colon separated <key>=<value> list where <key> and <value> are RFC 1738 encodedvoid cncString(string propval) @property nothrowSet `cncString` field. Params: propval = the connection string, a semi-colon separated <key>=<value> list where <key> and <value> are RFC 1738 encodedstring authString() @property nothrowGet `authString` field. Returns: the authentication string, a semi-colon separated <key>=<value> list where <key> and <value> are RFC 1738 encoded. Can be null.void authString(string propval) @property nothrowSet `authString` field. Params: propval = the authentication string, a semi-colon separated <key>=<value> list where <key> and <value> are RFC 1738 encoded. Can be null.bool isSystem() @property nothrowGet `isSystem` field. Returns: true if the DSN is a system wide defined data sourcevoid isSystem(bool propval) @property nothrowSet `isSystem` field. Params: propval = true if the DSN is a system wide defined data source