IsUniqueKey property

Checks whether the index is a unique key.

Syntax
Visual Basic
Public Readonly Property IsUniqueKey As Boolean
C#
public bool IsUniqueKey { get;}
Property value

True if the index is a unique key, false if the index is not a unique key.

Remarks

Columns in a unique key may not be null.

See also