Partager via


Propriété FillFactor

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

Espace de noms :  Microsoft.SqlServer.Management.Smo
Assembly :  Microsoft.SqlServer.Smo (en Microsoft.SqlServer.Smo.dll)

Syntaxe

'Déclaration
<SfcPropertyAttribute(SfcPropertyFlags.None Or SfcPropertyFlags.ReadOnlyAfterCreation Or SfcPropertyFlags.Standalone Or SfcPropertyFlags.SqlAzureDatabase Or SfcPropertyFlags.Design Or SfcPropertyFlags.Deploy)> _
Public Property FillFactor As Byte
    Get
    Set
'Utilisation
Dim instance As Index
Dim value As Byte

value = instance.FillFactor

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

Valeur de propriété

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

Notes

Notes

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.