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 Sub Rebuild (
	partitionNumber As Integer
)

Parameters

partitionNumber
Type: System.Int32

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

System_CAPS_noteNote

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

Return to top
Show: