Metodo Rename

Renames the index.

Spazio dei nomi  Microsoft.SqlServer.Management.Smo
Assembly:  Microsoft.SqlServer.Smo (in Microsoft.SqlServer.Smo.dll)

Sintassi

'Dichiarazione
Public Sub Rename ( _
    newname As String _
)
'Utilizzo
Dim instance As Index
Dim newname As String

instance.Rename(newname)
public void Rename(
    string newname
)
public:
virtual void Rename(
    String^ newname
) sealed
abstract Rename : 
        newname:string -> unit 
override Rename : 
        newname:string -> unit 
public final function Rename(
    newname : String
)

Parametri

Implementa

IRenamable. . :: . .Rename(String)

Osservazioni

Nota

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