Config.getProvider

gda.server_provider.ServerProvider getProvider(string providerName)

Get a pointer to the session-wide #GdaServerProvider for the provider named provider_name. The caller must not call [gobject.object.ObjectWrap.unref] on the returned object.

This method may fail with a GDA_CONFIG_ERROR domain error (see the #GdaConfigError error codes).

Parameters

providerNamea database provider

Returns

a pointer to the #GdaServerProvider, or null if an error occurred

Throws

[ConfigException]