Export (0) Print
Expand All
This topic has not yet been rated - Rate this topic

Index.Rename Method

Renames the index.

Namespace:  Microsoft.SqlServer.Management.Smo
Assembly:  Microsoft.SqlServer.Smo (in Microsoft.SqlServer.Smo.dll)
abstract Rename : 
        newname:string -> unit  
override Rename : 
        newname:string -> unit

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.

Did you find this helpful?
(1500 characters remaining)
Thank you for your feedback

Community Additions

ADD
Show:
© 2014 Microsoft. All rights reserved.