Export (0) Print
Expand All
Expand Minimize

ScriptingOptions.ClusteredIndexes Property

Gets or sets a Boolean property value that specifies whether statements that define clustered indexes are included in the generated script.

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

public bool ClusteredIndexes { get; set; }

Property Value

Type: System.Boolean
A Boolean value that specifies whether statements that define clustered indexes are included in the generated script.
If True, clustered indexes are included in the script. Otherwise, False (default).

This property applies only when scripting a SQL Server table.

Community Additions

ADD
Show:
© 2014 Microsoft