IndexOperation Enumeration

The IndexOperation enumeration contains values that are used to specify index operations.

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


Public Enumeration IndexOperation
Dim instance As IndexOperation
public enum IndexOperation
public enum class IndexOperation
type IndexOperation
public enum IndexOperation


Member name Description
Rebuild Rebuilds the index.
Reorganize Reorganizes the index.
Disable Disables the index.


The IndexOperation enumeration class is served by the Alter method