Compartir a través de


Index.Rebuild Método (Int32)

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

Espacio de nombres:  Microsoft.SqlServer.Management.Smo
Ensamblado:  Microsoft.SqlServer.Smo (en Microsoft.SqlServer.Smo.dll)

Sintaxis

'Declaración
Public Sub Rebuild ( _
    partitionNumber As Integer _
)
'Uso
Dim instance As Index 
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
)

Parámetros

  • partitionNumber
    Tipo: System.Int32
    A Int32 value that specifies the number of the partition to be rebuilt.

Comentarios

[!NOTA]

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

Ejemplos

Crear, modificar y eliminar índices

Vea también

Referencia

Index Clase

Sobrecarga de Rebuild

Espacio de nombres Microsoft.SqlServer.Management.Smo

Otros recursos

Índices

ALTER INDEX (Transact-SQL)

DBCC DBREINDEX (Transact-SQL)