Index.Rebuild Index.Rebuild Index.Rebuild Method

Definition

Rebuilds the index.

Overloads

Rebuild() Rebuild() Rebuild()

Rebuilds the index.

Rebuild(Int32) Rebuild(Int32) Rebuild(Int32)

Rebuilds the index on the partition with the specified partition number.

Rebuild() Rebuild() Rebuild()

Rebuilds the index.

public:
 void Rebuild();
public void Rebuild ();
Public Sub Rebuild ()

Examples

Creating, Altering, and Removing Indexes

Remarks

Note

Indexes based on the UserDefinedTableType object cannot be modified and running this method will generate an exception.

Rebuild(Int32) Rebuild(Int32) Rebuild(Int32)

Rebuilds the index on the partition with the specified partition number.

public:
 void Rebuild(int partitionNumber);
public void Rebuild (int partitionNumber);
Public Sub Rebuild (partitionNumber As Integer)
Parameters
partitionNumber
Int32 Int32 Int32

A Int32 value that specifies the number of the partition to be rebuilt.

Examples

Creating, Altering, and Removing Indexes

Remarks

Note

Indexes based on the UserDefinedTableType object cannot be modified and running this method will generate an exception.

Applies to