Condividi tramite


Proprietà FillFactor

Gets or sets the percentage of an index page to fill when the index is created or re-created.

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

Sintassi

'Dichiarazione
<SfcPropertyAttribute(SfcPropertyFlags.ReadOnlyAfterCreation)> _
Public Property FillFactor As Byte
    Get
    Set
'Utilizzo
Dim instance As Index
Dim value As Byte

value = instance.FillFactor

instance.FillFactor = value
[SfcPropertyAttribute(SfcPropertyFlags.ReadOnlyAfterCreation)]
public byte FillFactor { get; set; }
[SfcPropertyAttribute(SfcPropertyFlags::ReadOnlyAfterCreation)]
public:
property unsigned char FillFactor {
    unsigned char get ();
    void set (unsigned char value);
}
[<SfcPropertyAttribute(SfcPropertyFlags.ReadOnlyAfterCreation)>]
member FillFactor : byte with get, set
function get FillFactor () : byte
function set FillFactor (value : byte)

Valore proprietà

Tipo: System. . :: . .Byte
A Byte value that specifies proportion of the index page to fill, in percent.

Osservazioni

[!NOTA]

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