Share via


IndexAttribute.IsUnique Property

Definition

Set this property to true to define a unique index. Set this property to false to define a non-unique index.

public virtual bool IsUnique { get; set; }
member this.IsUnique : bool with get, set
Public Overridable Property IsUnique As Boolean

Property Value

Remarks

The value of this property is only relevant if IsUniqueConfigured returns true. If IsUniqueConfigured returns false, then the value of this property is meaningless.

Applies to