UNREGISTERTABLECONNECTION Function (Database)
Unregisters a table connection between Dynamics NAV and an external database.
Syntax
UNREGISTERTABLECONNECTION(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.
See Also
External Tables
TableConnectionType Data Type
REGISTERTABLECONNECTION Function (Database)