Proprietà Index.PadIndex

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

Spazio dei nomi  Microsoft.SqlServer.Management.Smo
Assembly:  Microsoft.SqlServer.Smo (in Microsoft.SqlServer.Smo.dll)

Sintassi

'Dichiarazione
<SfcPropertyAttribute(SfcPropertyFlags.None Or SfcPropertyFlags.ReadOnlyAfterCreation Or SfcPropertyFlags.Standalone Or SfcPropertyFlags.SqlAzureDatabase Or SfcPropertyFlags.Design Or SfcPropertyFlags.Deploy)> _
Public Property PadIndex As Boolean 
    Get 
    Set
'Utilizzo
Dim instance As Index 
Dim value As Boolean 

value = instance.PadIndex

instance.PadIndex = value
[SfcPropertyAttribute(SfcPropertyFlags.None|SfcPropertyFlags.ReadOnlyAfterCreation|SfcPropertyFlags.Standalone|SfcPropertyFlags.SqlAzureDatabase|SfcPropertyFlags.Design|SfcPropertyFlags.Deploy)]
public bool PadIndex { get; set; }
[SfcPropertyAttribute(SfcPropertyFlags::None|SfcPropertyFlags::ReadOnlyAfterCreation|SfcPropertyFlags::Standalone|SfcPropertyFlags::SqlAzureDatabase|SfcPropertyFlags::Design|SfcPropertyFlags::Deploy)]
public:
property bool PadIndex {
    bool get ();
    void set (bool value);
}
[<SfcPropertyAttribute(SfcPropertyFlags.None|SfcPropertyFlags.ReadOnlyAfterCreation|SfcPropertyFlags.Standalone|SfcPropertyFlags.SqlAzureDatabase|SfcPropertyFlags.Design|SfcPropertyFlags.Deploy)>]
member PadIndex : bool with get, set
function get PadIndex () : boolean 
function set PadIndex (value : boolean)

Valore proprietà

Tipo: 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).

Osservazioni

This property cannot be modified by using the Alter method. To change the property, the index must be rebuilt or re-created.

[!NOTA]

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.

Esempi

Creazione, modifica e rimozione di indici

Vedere anche

Riferimento

Index Classe

Spazio dei nomi Microsoft.SqlServer.Management.Smo

Altre risorse

Indici

CREATE INDEX (Transact-SQL)