次の方法で共有


RebuildIndex Method

この機能は、将来のバージョンの Microsoft SQL Server では削除される予定です。 新しい開発作業では、この機能の使用を避け、現在この機能を使用しているアプリケーションは修正するようにしてください。

The RebuildIndex method re-creates an index implementing a Microsoft SQL Server PRIMARY KEY or UNIQUE key constraint.

構文

object.RebuildIndex()

Parts

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

Prototype (C/C++)

HRESULT RebuildIndex();

説明

Use the RebuildIndex method when the Type property of the Key object returns SQLDMOKey_Primary or SQLDMOKey_Unique, and the object references an existing table key.

Set the FillFactor property of the Key object prior to calling the method to alter key-maintaining index density. For more information about index fill factor, see CREATE INDEX.

Applies To:

関連項目

参照