Metodo RebuildAllIndexes

Rebuilds all the indexes.

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

Sintassi

'Dichiarazione
Public Sub RebuildAllIndexes
'Utilizzo
Dim instance As Index

instance.RebuildAllIndexes()
public void RebuildAllIndexes()
public:
void RebuildAllIndexes()
member RebuildAllIndexes : unit -> unit 
public function RebuildAllIndexes()

Osservazioni

Nota

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