Share via


NamedSmoObject.ExecuteRenameQuery Method

Executes the rename query for the object.

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

Syntax

'Declaration
Protected Overridable Sub ExecuteRenameQuery ( _
    newName As String _
)
'Usage
Dim newName As String 

Me.ExecuteRenameQuery(newName)
protected virtual void ExecuteRenameQuery(
    string newName
)
protected:
virtual void ExecuteRenameQuery(
    String^ newName
)
abstract ExecuteRenameQuery : 
        newName:string -> unit  
override ExecuteRenameQuery : 
        newName:string -> unit
protected function ExecuteRenameQuery(
    newName : String
)

Parameters

See Also

Reference

NamedSmoObject Class

Microsoft.SqlServer.Management.Smo Namespace