FillFactor Property (SQL-DMO)

The FillFactor property exposes the percent of each page used to store index data when the index is created.

Applies To
Index Object Key Object

Syntax

object.FillFactor [= value]

Part Description
object Expression that evaluates to an object in the Applies To list
value Long integer from 0 through 100

Remarks

Microsoft® SQL Server™ primary keys are supported by unique indexes built on the columns participating in the PRIMARY KEY or UNIQUE key constraint. For the Key object, the FillFactor property only has meaning if the Type property reports SQLDMOKey_Primary.

Setting FillFactor on index or key creation can cause unintended behavior. For more information, see CREATE INDEX.

Data Type

Long

Modifiable

Read/write

Prototype (C/C++)

HRESULT GetFillFactor(LPLONG pRetVal);

HRESULT SetFillFactor(LONG NewValue);

  


(c) 1988-98 Microsoft Corporation. All Rights Reserved.