CreateIndexStatement.Unique 属性

Gets or sets a value that indicates whether the Unique keyword is used.

命名空间:  Microsoft.SqlServer.TransactSql.ScriptDom
程序集:  Microsoft.SqlServer.TransactSql.ScriptDom(在 Microsoft.SqlServer.TransactSql.ScriptDom.dll 中)

语法

声明
Public Property Unique As Boolean 
    Get 
    Set
用法
Dim instance As CreateIndexStatement 
Dim value As Boolean 

value = instance.Unique

instance.Unique = value
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
True if the Unique keyword is used, otherwise, false.

请参阅

参考

CreateIndexStatement 类

Microsoft.SqlServer.TransactSql.ScriptDom 命名空间