The KeyConstraint type exposes the following members.

Properties

  NameDescription
AllowPageLocks
Gets or sets the ALLOWPAGEROCK option.
AllowRowLocks
Gets or sets the ALLOWROWLOCK option.
Clustered
Gets or sets if a key index is clustered.
Columns
Gets columns associated with the constraint.
Database
Gets the Database owner.
(Inherited from DatabaseObject.)
DependOn
Gets a collection of the element dependencies.
(Inherited from Element.)
FillFactor
Gets or sets a fill factor value.
FullName
Gets the element full name.
(Inherited from Element.)
IgnoreDupKey
Gets or sets if the key index should ignore the duplicated keys.
IsSystem
Gets or sets true value if the object is of system type.
(Inherited from Element.)
Name
Gets or sets an element name.
(Inherited from Element.)
PadIndex
Gets or sets a pad index value.
Schema
Implements Schema. Returns schema object associated with Constraint.
(Inherited from Constraint.)
StatisticNoRecompute
Gets or sets the StatisticNoRecompute option.
Table
Gets or sets Table associated with constraint.
(Inherited from Constraint.)

See Also