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)

No code example is currently available or this language may not be supported.

Property Value

Type: System.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 M:Microsoft.SqlServer.Managemetn.Smo.Index.Alter method. To change the property, the index must be rebuilt or re-created.

Return to top
Show: