Freigeben über


Index.ReorganizeAllIndexes-Methode

Reorganizes all the indexes based on current property settings.

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

Syntax

'Declaration
Public Sub ReorganizeAllIndexes
'Usage
Dim instance As Index

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

Hinweise

HinweisHinweis

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

Beispiele

Erstellen, Ändern und Löschen von Indizes

Siehe auch

Verweis

Index Klasse

Microsoft.SqlServer.Management.Smo-Namespace

Andere Ressourcen

Indizes

ALTER INDEX (Transact-SQL)

DBCC DBREINDEX (Transact-SQL)