get_provider


Description:

public static unowned ServerProvider get_provider (string provider_name) throws Error

Get a pointer to the session-wide ServerProvider for the provider named provider_name.

The caller must not call unref on the returned object.

This method may fail with a gda_config_error domain error (see the ConfigError error codes).

Parameters:

provider_name

a database provider

Returns:

a pointer to the ServerProvider, or null if an error occurred