Share via


Table.Rebuild Method (Int32)

Rebuilds the specified table partition.

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

Syntax

'Declaration
Public Sub Rebuild ( _
    partitionNumber As Integer _
)
'Usage
Dim instance As Table
Dim partitionNumber As Integer

instance.Rebuild(partitionNumber)
public void Rebuild(
    int partitionNumber
)
public:
void Rebuild(
    int partitionNumber
)
member Rebuild : 
        partitionNumber:int -> unit 
public function Rebuild(
    partitionNumber : int
)

Parameters

  • partitionNumber
    Type: System.Int32
    An Int32 value that specifies the partition number to rebuild.