Skip to content

UnRegisterConnection

Unregister a registered connection type.

Declaration

Source position: sqldb.pp line 851

procedure UnRegisterConnection(Def: TConnectionDefClass);
procedure UnRegisterConnection(const ConnectionName: string);

Description

UnRegisterConnection will unregister the connection Def. If a connection with ConnectionName or with name as returned by the TypeName method from Def was previously registered, it will be removed from the list of registered connection types.

Errors

if Def is Nil, access violations will occur.

See also

Name Description
TConnectionDef Connection type definition class.
RegisterConnection Register a new connection type for use in the universal connector.