Table.RebuildIndexes Method

Rebuilds the indexes on the table.

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

Syntax

'Declaration
Public Sub RebuildIndexes ( _
    fillFactor As Integer _
)
'Usage
Dim instance As Table 
Dim fillFactor As Integer

instance.RebuildIndexes(fillFactor)
public void RebuildIndexes(
    int fillFactor
)
public:
void RebuildIndexes(
    int fillFactor
)
member RebuildIndexes : 
        fillFactor:int -> unit
public function RebuildIndexes(
    fillFactor : int
)

Parameters

  • fillFactor
    Type: System.Int32
    An Int32 value that specifies the fillfactor value as a percentage.

Examples

Granting, Revoking, and Denying Permissions

See Also

Reference

Table Class

Microsoft.SqlServer.Management.Smo Namespace

Other Resources

Creating, Altering, and Removing Tables

Tables

DBCC DBREINDEX (Transact-SQL)