Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
Enable Method

Index.Enable Method

Enables the index.

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

'Declaration
Public Sub Enable ( _
	action As IndexEnableAction _
)
'Usage
Dim instance As Index 
Dim action As IndexEnableAction

instance.Enable(action)

Parameters

action
Type: Microsoft.SqlServer.Management.Smo.IndexEnableAction
An IndexEnableAction object value that specifies the action to take when enabling the index.

The action parameter is used to specify actions such as rebuild or re-create the index.

NoteNote

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

Community Additions

ADD
Show:
© 2015 Microsoft