Type Property (Key) (ADOX)

Indicates the type of the key.

Settings and Return Values

Sets or returns a Long value that can be one of the KeyTypeEnum constants. The default value is adKeyPrimary.

Remarks

This property is read-only on Key objects already appended to a collection.

Applies To

Key Object (ADOX)

See Also

Keys Append Method, Key Type, RelatedColumn, RelatedTable and UpdateRule Properties Example (VB)
Type Property (Column) (ADOX)
Type Property (Table) (ADOX)