CreateIndexStatement.Unique Property

Gets or sets whether the Unique keyword is used.

Namespace:  Microsoft.Data.Schema.ScriptDom.Sql
Assembly:  Microsoft.Data.Schema.ScriptDom.Sql (in Microsoft.Data.Schema.ScriptDom.Sql.dll)

Syntax

'Declaration
Public Property Unique As Boolean
public bool Unique { get; set; }
public:
property bool Unique {
    bool get ();
    void set (bool value);
}
member Unique : bool with get, set
function get Unique () : boolean
function set Unique (value : boolean)

Property Value

Type: System.Boolean
Returns true if the Unique keyword is used, false otherwise.

.NET Framework Security

See Also

Reference

CreateIndexStatement Class

Microsoft.Data.Schema.ScriptDom.Sql Namespace