We recommend using Visual Studio 2017

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 enum IndexOperation

Member nameDescription
RebuildRebuilds the index.
ReorganizeReorganizes the index.
DisableDisables the index.

The IndexOperation enumeration class is served by the Alter method

Community Additions