Key type constants specify the attributes of a Microsoft® SQL Server™ constraint implementing a primary or foreign key on table data.
Constant | Value | Description |
---|---|---|
SQLDMOKey_Foreign | 3 | Key references, or will be used to create, a SQL Server FOREIGN KEY constraint |
SQLDMOKey_Primary | 1 | Key references, or will be used to create, a SQL Server PRIMARY KEY constraint |
SQLDMOKey_Unique | 2 | Key references a SQL Server UNIQUE constraint on a column not allowing NULL |
SQLDMOKey_Unknown | 0 | Bad or invalid value |