IndexKeyType IndexKeyType IndexKeyType Enum

Definition

The IndexKeyType enumeration contains values that are used to specify the type of key on which the index is created.

public enum class IndexKeyType
public enum IndexKeyType
Public Enum IndexKeyType
Inheritance
IndexKeyTypeIndexKeyTypeIndexKeyType

Fields

DriPrimaryKey DriPrimaryKey DriPrimaryKey 1

The index implements a SQL Server PRIMARY KEY constraint.

DriUniqueKey DriUniqueKey DriUniqueKey 2

The index implements a UNIQUE constraint on a table not constrained by a primary key. The index is a candidate key.

None None None 0

The index is based on a column with no key constraint.

Remarks

The IndexKeyType enumeration class is served by the IndexKeyType property.

Applies to