KeyTypeEnum

Microsoft ActiveX Data Objects (ADO)

KeyTypeEnum

   

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.