IsForeignKey property

Checks whether the index is a foreign key.

Syntax
Visual Basic

Public Readonly Property IsForeignKey As Boolean
C#

public bool IsForeignKey  { get;}
Property value

True if the index is the foreign key, false if the index is not the foreign key.

Remarks

Columns in a foreign key may reference another table's non-null, unique index.

See also