Partager via


Propriété IsUnique

Gets or sets a value that indicates whether the index is unique.

Espace de noms :  Microsoft.SqlServer.Management.SqlParser.Metadata
Assembly :  Microsoft.SqlServer.Management.SqlParser (en Microsoft.SqlServer.Management.SqlParser.dll)

Syntaxe

'Déclaration
Property IsUnique As Boolean
    Get
    Set
'Utilisation
Dim instance As IMutableRelationalIndex
Dim value As Boolean

value = instance.IsUnique

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

Valeur de propriété

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

Implémente

IRelationalIndex. . :: . .IsUnique