Share via


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

'Declaration
Public Sub Reorganize
'Usage
Dim instance As Index

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

Remarks

Note

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