Database.RegisterTableConnection(TableConnectionType, Text, Text) Method
Version: Available or changed with runtime version 1.0.
Registers a table connection to an external database.
Syntax
Database.RegisterTableConnection(Type: TableConnectionType, Name: Text, Connection: Text)
Note
This method can be invoked without specifying the data type name.
Parameters
Type
Type: TableConnectionType
Specifies the type of table connection as defined in the TableType property.
Name
Type: Text
Specifies the name of the connection in your code, or the name of the primary key field on the table.
Connection
Type: Text
Specifies the connection to the external database.
Related information
Database Data Type
Get Started with AL
Developing Extensions