| title | KeyTypeEnum | |
|---|---|---|
| description | KeyTypeEnum | |
| author | rothja | |
| ms.author | jroth | |
| ms.date | 01/19/2017 | |
| ms.service | sql | |
| ms.subservice | ado | |
| ms.topic | reference | |
| f1_keywords |
|
|
| helpviewer_keywords |
|
|
| apitype | COM |
Specifies the type of Key: primary, foreign, or unique.
| Constant | Value | Description |
|---|---|---|
| adKeyPrimary | 1 | Default. The key is a primary key. |
| adKeyForeign | 2 | The key is a foreign key. |
| adKeyUnique | 3 | The key is unique. |