Editar

Compartir a través de


Database.HasTableConnection(TableConnectionType, Text) Method

Version: Available or changed with runtime version 1.0.

Verifies if a connection to an external database exists based on the specified name.

Syntax

Ok :=   Database.HasTableConnection(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.

Name
 Type: Text
The name of the external table connection. You must already have registered a table connection with this name.

Return Value

Ok
 Type: Boolean
true if a connection to an external database exists for the specified name, otherwise false.

See Also

Database Data Type
Get Started with AL
Developing Extensions