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

Index.Rename Method

Renames the index.

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

public void Rename(
	string newname
)

Parameters

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

Implements

IRenamable.Rename(String)

NoteNote

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

Community Additions

ADD
Show:
© 2015 Microsoft