Share via


IRelationalIndex.IsUnique Property

Gets a value that indicates whether the index is unique.

Namespace:  Microsoft.SqlServer.Management.SqlParser.Metadata
Assembly:  Microsoft.SqlServer.Management.SqlParser (in Microsoft.SqlServer.Management.SqlParser.dll)

Syntax

'Declaration
ReadOnly Property IsUnique As Boolean
    Get
'Usage
Dim instance As IRelationalIndex
Dim value As Boolean

value = instance.IsUnique
bool IsUnique { get; }
property bool IsUnique {
    bool get ();
}
abstract IsUnique : bool
function get IsUnique () : boolean

Property Value

Type: System.Boolean
true if the index is unique; otherwise, false.