Index.PadIndex Property

 

Gets or sets the Boolean property value that specifies whether space is left open on each page of the intermediate levels of the index.

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

[SfcPropertyAttribute(SfcPropertyFlags.None | SfcPropertyFlags.ReadOnlyAfterCreation | SfcPropertyFlags.Standalone | SfcPropertyFlags.SqlAzureDatabase | SfcPropertyFlags.Design | SfcPropertyFlags.Deploy)]
public bool PadIndex { get; set; }

Property Value

Type: System.Boolean

A Boolean value that specifies whether there is available space on each page at the intermediary levels of the index.

If True, the index is padded. Otherwise, False (default).

This property cannot be modified by using the M:Microsoft.SqlServer.Managemetn.Smo.Index.Alter method. To change the property, the index must be rebuilt or re-created.

System_CAPS_noteNote

For indexes based on the UserDefinedTableType object the value of PadIndex value is provided by sys.indexes and the value of PadIndex property is ignored.

Return to top
Show: