Share via


Rebuild Method

This feature will be removed in a future version of Microsoft SQL Server. Avoid using this feature in new development work, and plan to modify applications that currently use this feature.

The Rebuild method re-creates the Microsoft Search full-text catalog or Microsoft SQL Server index referenced by the object.

Syntax

object
.Rebuild(
)

Parts

  • object
    Expression that evaluates to an object in the Applies To list.

Prototype (C/C++)

HRESULT Rebuild();

Remarks

For the FullTextCatalog object, the Rebuild method removes, then re-creates the structures maintaining the full-text catalog referenced. The re-created catalog is not populated, but is ready for population. After calling the Rebuild method, use the Start method of the FullTextCatalog object to repopulate the full-text catalog.

When using the Rebuild method of an Index object referencing a clustered index, you can set the FillFactor property prior to calling the method to alter index density. For more information about index fill factor, see CREATE INDEX.

Applies To:

FullTextCatalog Object

Index Object

See Also

Reference

FillFactor Property
Start Method (FullTextCatalog)

Help and Information

Getting SQL Server 2005 Assistance