gda.dsn_info

Module for [DsnInfo] class

class DsnInfo

Types 1

This structure defines the properties of a named data source (DSN).

Methods
void * _cPtr(Flag!"Dup" dup = No.Dup)
GType _gType() @property
DsnInfo self()Returns `this`, for use in `with` statements.
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 encoded
void 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 encoded
string 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 source
void isSystem(bool propval) @propertySet `isSystem` field. Params: propval = true if the DSN is a system wide defined data source
gda.dsn_info.DsnInfo copy()Copy constructor. Returns: a new #GdaDsnInfo
Constructors
this(void * ptr, Flag!"Take" take)
this()Creates a new #GdaDsnInfo struct. Returns: a new #GdaDsnInfo struct.