Export (0) Print
Expand All

Index.Rename Method

Renames the index.

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

'Declaration
Public Sub Rename ( _
	newname As String _
)
'Usage
Dim instance As Index 
Dim newname As String

instance.Rename(newname)

Parameters

newname
Type: String
A String value that specifies the new name of the index.

Implements

IRenamableRename(String)

NoteNote

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

Community Additions

ADD
Show:
© 2014 Microsoft