Database.UnregisterTableConnection(TableConnectionType, Text) Method

Version: Available or changed with runtime version 1.0.

Unregisters a table connection to an external database.

Syntax

 Database.UnregisterTableConnection(Type: TableConnectionType, Name: 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. If the table is of type ExternalSQL, UNREGISTERTABLECONNECTION rolls back the current transaction.

Name
 Type: Text
Specifies the name of the connection in your code, or the name of the primary key field on the table.

Database Data Type
Get Started with AL
Developing Extensions