Metodo Index.Rebuild (Int32)

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

Spazio dei nomi  Microsoft.SqlServer.Management.Smo
Assembly:  Microsoft.SqlServer.Smo (in Microsoft.SqlServer.Smo.dll)

Sintassi

'Dichiarazione
Public Sub Rebuild ( _
    partitionNumber As Integer _
)
'Utilizzo
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
)

Parametri

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

Osservazioni

[!NOTA]

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

Esempi

Creazione, modifica e rimozione di indici

Vedere anche

Riferimento

Index Classe

Overload Rebuild

Spazio dei nomi Microsoft.SqlServer.Management.Smo

Altre risorse

Indici

ALTER INDEX (Transact-SQL)

DBCC DBREINDEX (Transact-SQL)