| title |
KeyTypeEnum | Microsoft Docs |
| ms.prod |
sql |
| ms.prod_service |
connectivity |
| ms.technology |
connectivity |
| ms.custom |
|
| ms.date |
01/19/2017 |
| ms.reviewer |
|
| ms.topic |
conceptual |
| apitype |
COM |
| f1_keywords |
|
| helpviewer_keywords |
KeyTypeEnum enumeration [ADOX] |
|
| ms.assetid |
3e597c52-caf4-4341-8471-d1ade563dbf7 |
| author |
MightyPen |
| ms.author |
genemi |
| manager |
craigg |
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. |
Type Property (Key) (ADOX)