Gda.DsnInfo

Fields

Name

Type

Access

Description

auth_string

str

r/w

the authentication string, a semi-colon separated <key>=<value> list where <key> and <value> are RFC 1738 encoded. Can be None.

cnc_string

str

r/w

the connection string, a semi-colon separated <key>=<value> list where <key> and <value> are RFC 1738 encoded

description

str

r/w

a descriptive string (plain text, not RFC 1738 encoded), can be None.

is_system

bool

r/w

True if the DSN is a system wide defined data source

name

str

r/w

the (unique) name of the DSN (plain text, not RFC 1738 encoded)

provider

str

r/w

the ID of the database provider to be used (plain text, not RFC 1738 encoded)

Methods

class

new ()

copy ()

free ()

Details

class Gda.DsnInfo

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

classmethod new()
Returns:

a new Gda.DsnInfo struct.

Return type:

Gda.DsnInfo

Creates a new Gda.DsnInfo struct.

New in version 5.2.

copy()
Returns:

a new Gda.DsnInfo

Return type:

Gda.DsnInfo

Copy constructor.

New in version 5.2.

free()

Frees any resources taken by self struct. If self is None, then nothing happens.

New in version 5.2.