Aracılığıyla paylaş


UserDefinedFunction.Rename Method

Renames the user-defined function.

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

Syntax

'Bildirim
Public Sub Rename ( _
    newname As String _
)
'Kullanım
Dim instance As UserDefinedFunction
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
)

Parameters

  • newname
    Type: System.String
    A String value that specifies a the new name of the user-defined function.

Implements

IRenamable.Rename(String)

Examples

Calling Methods

See Also

Reference

UserDefinedFunction Class

Microsoft.SqlServer.Management.Smo Namespace

Other Resources

User-Defined Functions (Database Engine)

ALTER FUNCTION (Transact-SQL)