Index.Rebuild Method (Int32)

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

Namespace:  Microsoft.SqlServer.Management.Smo
Assembly:  Microsoft.SqlServer.Smo (in Microsoft.SqlServer.Smo.dll)

public void Rebuild(
	int partitionNumber
)

Parameters

partitionNumber
Type: System.Int32

NoteNote

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

Community Additions

ADD
Show: