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
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.