PrimaryKeys

This collection contains PrimaryKey objects that represent descriptors of primary keys for a table of external database. To access objects in the collection, use the Item method. 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 primary keys in a table, the collection will be empty. The collection is always empty for GDB tables.