Share via


IndexEnableAction Enumeration

The IndexEnableAction enumeration contains values that are used to specify the action that is taken on an index when it is enabled after having been disabled.

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

Syntax

'Declaration
Public Enumeration IndexEnableAction
'Usage
Dim instance As IndexEnableAction
public enum IndexEnableAction
public enum class IndexEnableAction
type IndexEnableAction
public enum IndexEnableAction

Members

Member name Description
Rebuild The index is rebuilt.
Recreate The index is recreated.

Remarks

The IndexEnableAction enumeration class is served by the Enable method and the EnableAllIndexes method.

See Also

Reference

Microsoft.SqlServer.Management.Smo Namespace