Type property (Key) (ADOX)

Applies to: Access 2013 | Access 2016

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

Support and feedback

Have questions or feedback about Office VBA or this documentation? Please see Office VBA support and feedback for guidance about the ways you can receive support and provide feedback.