共用方式為


UniqueConstraintDefinition.Clustered 屬性

Gets or sets a value that indicates whether the constraint is clustered.

命名空間:  Microsoft.SqlServer.TransactSql.ScriptDom
組件:  Microsoft.SqlServer.TransactSql.ScriptDom (在 Microsoft.SqlServer.TransactSql.ScriptDom.dll 中)

語法

'宣告
Public Property Clustered As Nullable(Of Boolean)
    Get 
    Set
'用途
Dim instance As UniqueConstraintDefinition 
Dim value As Nullable(Of Boolean)

value = instance.Clustered

instance.Clustered = value
public Nullable<bool> Clustered { get; set; }
public:
property Nullable<bool> Clustered {
    Nullable<bool> get ();
    void set (Nullable<bool> value);
}
member Clustered : Nullable<bool> with get, set
function get Clustered () : Nullable<boolean>
function set Clustered (value : Nullable<boolean>)

屬性值

型別:System.Nullable<Boolean>
True if the constraint is clustered; otherwise, false.

請參閱

參考

UniqueConstraintDefinition 類別

Microsoft.SqlServer.TransactSql.ScriptDom 命名空間