CreateIndexStatement.Unique 属性

获取或设置是否使用 Unique 关键字。

命名空间:  Microsoft.Data.Schema.ScriptDom.Sql
程序集:  Microsoft.Data.Schema.ScriptDom.Sql(在 Microsoft.Data.Schema.ScriptDom.Sql.dll 中)

语法

声明
Public Property Unique As Boolean
    Get
    Set
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)

属性值

类型:System.Boolean
如果使用 Unique 关键字,则返回 true;否则返回 false。

.NET Framework 安全性

请参见

参考

CreateIndexStatement 类

Microsoft.Data.Schema.ScriptDom.Sql 命名空间