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

# TConnectionDef.TypeName

Name of the connection type

## Declaration

Source position: sqldb.pp line 812

`class function TConnectionDef.TypeName: string; virtual;`

## Function result

Unique name for the connection type

## Description

TypeName is overridden by descendent classes to return the unique name for this connection type. It is what the TSQLConnector.ConnectorType property should be set to select this connection type for the universal connection, and is the name that the GetConnectionDef call will use when looking for a connection type. It must be overridden by descendents of TConnectionDef.

This name is also returned in the list returned by GetConnectionList

This name can be an arbitrary name, no restrictions on the allowed characters exist.

## See also

TSQLConnector.ConnectorType |  | Name of the connection type to use
GetConnectionDef |  | Search for a connection definition by name
GetConnectionList |  | Return a list of connection definition names.
TConnectionDef.ConnectionClass |  | Class to instantiate when this connection is requested