Oharra
Baimena behar duzu orria atzitzeko. Direktorioetan saioa has dezakezu edo haiek alda ditzakezu.
Baimena behar duzu orria atzitzeko. Direktorioak alda ditzakezu.
Esta característica se quitará en una versión futura de Microsoft SQL Server. Evite utilizar esta característica en nuevos trabajos de desarrollo y tenga previsto modificar las aplicaciones que actualmente la utilizan.
The RebuildIndexes method re-creates all indexes defined on a Microsoft SQL Server table.
Sintaxis
object
.RebuildIndexes( [ IndexType ] , [ FillFactor ] )
Parts
- object
Expression that evaluates to an object in the Applies To list.
- IndexType
Maintained for compatibility with earlier versions of SQL-DMO.
- FillFactor
Long integer designating an index fill factor as described in Settings.
Prototype (C/C++)
HRESULT RebuildIndexes(
SQLDMO_INDEX_TYPE SortedDataType = SQLDMOIndex_Default,
long lFillFactor = SQLDMO_USEEXISTINGFILLFACTOR);
Settings
Set the FillFactor argument to control index storage density used when a clustered index defined on the table is rebuilt. Explicitly set FillFactor using an integer from 1 through 100. By default, any clustered index is rebuilt using the value set when the index was last built.