title | description | author | ms.author | ms.date | ms.service | ms.subservice | ms.topic | f1_keywords | helpviewer_keywords | apitype | ||
---|---|---|---|---|---|---|---|---|---|---|---|---|
KeyTypeEnum |
KeyTypeEnum |
rothja |
jroth |
01/19/2017 |
sql |
ado |
reference |
|
|
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. |