Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
IsUnique Property
Collapse the table of content
Expand the table of content

Index.IsUnique Property

Gets or sets the Boolean property value that specifies whether the index is unique or not.

Namespace:  Microsoft.SqlServer.Management.Smo
Assembly:  Microsoft.SqlServer.Smo (in Microsoft.SqlServer.Smo.dll)

function get IsUnique () : boolean 
function set IsUnique (value : boolean)

Property Value

Type: Boolean
A Boolean value that specifies whether the index is unique or not.If True, the index is unique.If False (default), the index is not unique.

This property cannot be modified by using the Alter method. To change the property, the index must be rebuilt or re-created.

Community Additions

ADD
Show:
© 2015 Microsoft