Database.GetDefaultTableConnection(TableConnectionType) Method

Version: Available or changed with runtime version 1.0.

Gets the default table connection based on the specified connection type. You must already have registered a table connection of this type.

Syntax

Name :=   Database.GetDefaultTableConnection(Type: TableConnectionType)

Note

This method can be invoked without specifying the data type name.

Parameters

Type
 Type: TableConnectionType
The type of table connection as defined in the TableType property.

Return Value

Name
 Type: Text

Database Data Type
Get Started with AL
Developing Extensions