Index.IsClustered Property

Gets or sets the Boolean property value that specifies whether the index is clustered.

Namespace:  Microsoft.SqlServer.Management.Smo
Assembly:  Microsoft.SqlServer.Smo (in Microsoft.SqlServer.Smo.dll)

Syntax

'Declaration
<SfcPropertyAttribute(SfcPropertyFlags.ReadOnlyAfterCreation)> _
Public Property IsClustered As Boolean
    Get
    Set
'Usage
Dim instance As Index
Dim value As Boolean

value = instance.IsClustered

instance.IsClustered = value
[SfcPropertyAttribute(SfcPropertyFlags.ReadOnlyAfterCreation)]
public bool IsClustered { get; set; }
[SfcPropertyAttribute(SfcPropertyFlags::ReadOnlyAfterCreation)]
public:
property bool IsClustered {
    bool get ();
    void set (bool value);
}
[<SfcPropertyAttribute(SfcPropertyFlags.ReadOnlyAfterCreation)>]
member IsClustered : bool with get, set
function get IsClustered () : boolean
function set IsClustered (value : boolean)

Property Value

Type: System.Boolean
A Boolean value that specifies the whether the index is clustered.
If True, the index is clustered. Otherwise, False (default).