ForeignKey Object

The ForeignKey object represents the descriptor of foreign key for a table of external database. The object ForeignKey always belongs to the Table::ForeignKeys collection. Access to collection items is possible both by name and by internal number. The collection provides continuity of descriptor numbers. Persistence of descriptor's internal number is guaranteed within a session of external database. Adding to and removing from the collection is not possible. If an ODBC data source does provide information about foreign keys in a table, the collection will be empty.