Index.Reorganize Method ()
Reorganizes the index based on current property settings.
Namespace: Microsoft.SqlServer.Management.Smo
Assembly: Microsoft.SqlServer.Smo (in Microsoft.SqlServer.Smo.dll)
Syntax
public void Reorganize()
public:
void Reorganize()
member Reorganize : unit -> unit
Public Sub Reorganize
Remarks
Note
Indexes based on the UserDefinedTableType object cannot be modified and running this method will generate an exception.
Examples
Creating, Altering, and Removing Indexes
See Also
Index Class
Microsoft.SqlServer.Management.Smo Namespace
ALTER INDEX (Transact-SQL)
DBCC DBREINDEX (Transact-SQL)
8de797d6-19da-44e8-9d24-c2689f42752b
Return to top