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() @propertyGet `name` field. Returns: the (unique) name of the DSN (plain text, not RFC 1738 encoded)void name(string propval) @propertySet `name` field. Params: propval = the (unique) name of the DSN (plain text, not RFC 1738 encoded)string provider() @propertyGet `provider` field. Returns: the ID of the database provider to be used (plain text, not RFC 1738 encoded)void provider(string propval) @propertySet `provider` field. Params: propval = the ID of the database provider to be used (plain text, not RFC 1738 encoded)string description() @propertyGet `description` field. Returns: a descriptive string (plain text, not RFC 1738 encoded), can be null.void description(string propval) @propertySet `description` field. Params: propval = a descriptive string (plain text, not RFC 1738 encoded), can be null.string cncString() @propertyGet `cncString` field. Returns: the connection string, a semi-colon separated <key>=<value> list where <key> and <value> are RFC 1738 encodedvoid cncString(string propval) @propertySet `cncString` field. Params: propval = the connection string, a semi-colon separated <key>=<value> list where <key> and <value> are RFC 1738 encodedstring authString() @propertyGet `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) @propertySet `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() @propertyGet `isSystem` field. Returns: true if the DSN is a system wide defined data sourcevoid isSystem(bool propval) @propertySet `isSystem` field. Params: propval = true if the DSN is a system wide defined data sourcegda.dsn_info.DsnInfo copy()Copy constructor. Returns: a new #GdaDsnInfo