Share via


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.

See Also

Keys Append Method, Key Type, RelatedColumn, RelatedTable and UpdateRule Properties Example (VB)

Type Property (Column) | Type Property (Table)

Applies To: Key Object