PrimaryKey Property (ADOX)

Indicates whether the index represents the primary key on the table.

Settings and Return Values

Sets and returns a Boolean value.

Remarks

The default value is False.

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

Applies To

Index Object (ADOX)

See Also

PrimaryKey and Unique Properties Example (VB)
Index Object (ADOX)