[Overview][Constants][Types][Classes][Procedures and functions][Variables][Index] | Reference for unit 'SQLDB' (#fcl)

# TConnectionDef.UnLoadFunction

Return a function to call when the client library must be unloaded

## Declaration

Source position: sqldb.pp line 817

`class function TConnectionDef.UnLoadFunction: TLibraryUnLoadFunction; virtual;`

## Function result

The function to call when the client library must be unloaded

## Description

UnLoadFunction must return the function that will be called when the client library for this connection type must be unloaded. This method must be overridden by descendent classes to return a function that will correctly unload the client library when a connection of this type is no longer used.

## See also

TLibraryUnLoadFunction |  | Library unloading function prototype
TConnectionDef.LoadFunction |  | Return a function to call when the client library must be loaded
TConnectionDef.DefaultLibraryName |  | Default library name
TConnectionDef.LoadedLibraryName |  | Currently loaded library.